diff --git a/README.md b/README.md index 22c9192..d32247c 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,7 @@ package main import ( "github.com/gin-contrib/static" - - "gopkg.in/gin-gonic/gin.v1" + "github.com/gin-gonic/gin" ) func main() { diff --git a/example/bindata/example.go b/example/bindata/example.go index c2efffc..692e238 100644 --- a/example/bindata/example.go +++ b/example/bindata/example.go @@ -6,8 +6,7 @@ import ( assetfs "github.com/elazarl/go-bindata-assetfs" "github.com/gin-contrib/static" - - "gopkg.in/gin-gonic/gin.v1" + "github.com/gin-gonic/gin" ) type binaryFileSystem struct { diff --git a/example/simple/example.go b/example/simple/example.go index 1bf5a35..2bbec7f 100644 --- a/example/simple/example.go +++ b/example/simple/example.go @@ -2,8 +2,7 @@ package main import ( "github.com/gin-contrib/static" - - "gopkg.in/gin-gonic/gin.v1" + "github.com/gin-gonic/gin" ) func main() { diff --git a/static.go b/static.go index dcb8670..6e4050e 100644 --- a/static.go +++ b/static.go @@ -6,7 +6,7 @@ import ( "path" "strings" - "gopkg.in/gin-gonic/gin.v1" + "github.com/gin-gonic/gin" ) type ServeFileSystem interface { diff --git a/static_test.go b/static_test.go index f80aadb..f66176b 100644 --- a/static_test.go +++ b/static_test.go @@ -8,8 +8,8 @@ import ( "path/filepath" "testing" + "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" - "gopkg.in/gin-gonic/gin.v1" ) func performRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {