forked from mirror/static
Update 'README.md'
This commit is contained in:
parent
c11cb2e48d
commit
0fadce2775
|
@ -14,13 +14,13 @@ Static middleware
|
||||||
Download and install it:
|
Download and install it:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go get github.com/gin-contrib/static
|
go get git.internal/re/static
|
||||||
```
|
```
|
||||||
|
|
||||||
Import it in your code:
|
Import it in your code:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/gin-contrib/static"
|
import "git.internal/re/static"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Canonical example
|
### Canonical example
|
||||||
|
@ -31,8 +31,8 @@ See the [example](_example)
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/gin-contrib/static"
|
"git.internal/re/static"
|
||||||
"github.com/gin-gonic/gin"
|
"git.internal/re/gin"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue