diff --git a/cors.go b/cors.go index 1e4c381..16550f4 100644 --- a/cors.go +++ b/cors.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "gopkg.in/gin-gonic/gin.v1" + "github.com/gin-gonic/gin" ) // Config represents all available options for the middleware. diff --git a/examples/example.go b/examples/example.go index d7f19d2..e57303c 100644 --- a/examples/example.go +++ b/examples/example.go @@ -3,8 +3,8 @@ package main import ( "time" + "github.com/gin-contrib/cors" "github.com/gin-gonic/gin" - "gopkg.in/gin-contrib/cors.v1" ) func main() {