diff --git a/ginrus/example/example.go b/ginrus/example/example.go index c18b93d..59d2750 100644 --- a/ginrus/example/example.go +++ b/ginrus/example/example.go @@ -5,9 +5,9 @@ import ( "os" "time" - "github.com/Sirupsen/logrus" "github.com/gin-gonic/contrib/ginrus" "github.com/gin-gonic/gin" + "github.com/sirupsen/logrus" ) func main() { diff --git a/ginrus/ginrus.go b/ginrus/ginrus.go index 464efec..e96a255 100644 --- a/ginrus/ginrus.go +++ b/ginrus/ginrus.go @@ -6,8 +6,8 @@ package ginrus import ( "time" - "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" + "github.com/sirupsen/logrus" ) // Ginrus returns a gin.HandlerFunc (middleware) that logs requests using logrus.