diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-30 12:11:28 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-30 12:11:28 -0400 |
commit | d0e6a4c25acc3414f6d0f93cc50e6dcb41111c19 (patch) | |
tree | c26f1b1e097e60bdd12da78cbfef8a3fd6d3b0cf /modules/middleware | |
parent | 3698431fc11f740ecc043822fba8af895fc12423 (diff) | |
download | gitea-d0e6a4c25acc3414f6d0f93cc50e6dcb41111c19.tar.gz gitea-d0e6a4c25acc3414f6d0f93cc50e6dcb41111c19.zip |
Change new martini impot path
Diffstat (limited to 'modules/middleware')
-rw-r--r-- | modules/middleware/auth.go | 2 | ||||
-rw-r--r-- | modules/middleware/context.go | 2 | ||||
-rw-r--r-- | modules/middleware/logger.go | 2 | ||||
-rw-r--r-- | modules/middleware/render.go | 2 | ||||
-rw-r--r-- | modules/middleware/repo.go | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/modules/middleware/auth.go b/modules/middleware/auth.go index f50fde99e5..bde3be7269 100644 --- a/modules/middleware/auth.go +++ b/modules/middleware/auth.go @@ -7,7 +7,7 @@ package middleware import ( "net/url" - "github.com/codegangsta/martini" + "github.com/go-martini/martini" "github.com/gogits/gogs/modules/base" ) diff --git a/modules/middleware/context.go b/modules/middleware/context.go index 5f1d42b1e4..d2b268cd87 100644 --- a/modules/middleware/context.go +++ b/modules/middleware/context.go @@ -15,7 +15,7 @@ import ( "strings" "time" - "github.com/codegangsta/martini" + "github.com/go-martini/martini" "github.com/gogits/cache" "github.com/gogits/git" diff --git a/modules/middleware/logger.go b/modules/middleware/logger.go index dcf8524608..fc8e1a8115 100644 --- a/modules/middleware/logger.go +++ b/modules/middleware/logger.go @@ -11,7 +11,7 @@ import ( "runtime" "time" - "github.com/codegangsta/martini" + "github.com/go-martini/martini" ) var isWindows bool diff --git a/modules/middleware/render.go b/modules/middleware/render.go index 869ef9abaa..98d485afec 100644 --- a/modules/middleware/render.go +++ b/modules/middleware/render.go @@ -17,7 +17,7 @@ import ( "path/filepath" "time" - "github.com/codegangsta/martini" + "github.com/go-martini/martini" "github.com/gogits/gogs/modules/base" ) diff --git a/modules/middleware/repo.go b/modules/middleware/repo.go index 6912cd8380..f446d6a85b 100644 --- a/modules/middleware/repo.go +++ b/modules/middleware/repo.go @@ -9,7 +9,7 @@ import ( "fmt" "strings" - "github.com/codegangsta/martini" + "github.com/go-martini/martini" "github.com/gogits/git" |