]> source.dussan.org Git - gitea.git/commitdiff
Change new martini impot path
authorUnknown <joe2010xtmf@163.com>
Sun, 30 Mar 2014 16:11:28 +0000 (12:11 -0400)
committerUnknown <joe2010xtmf@163.com>
Sun, 30 Mar 2014 16:11:28 +0000 (12:11 -0400)
22 files changed:
modules/auth/admin.go
modules/auth/auth.go
modules/auth/issue.go
modules/auth/repo.go
modules/auth/setting.go
modules/auth/user.go
modules/middleware/auth.go
modules/middleware/context.go
modules/middleware/logger.go
modules/middleware/render.go
modules/middleware/repo.go
routers/admin/admin.go
routers/admin/user.go
routers/dev/template.go
routers/install.go
routers/repo/branch.go
routers/repo/commit.go
routers/repo/issue.go
routers/repo/pull.go
routers/repo/repo.go
routers/user/user.go
web.go

index eccab007185af6195aee3b7283deab2a9146fdd3..fe889c2385b3c48520af3857924610778c532221 100644 (file)
@@ -8,7 +8,7 @@ import (
        "net/http"
        "reflect"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/binding"
 
index 361f55b2d32cb3f310ba6530f572875a4aa8c4b9..4561dd831dd95ab6e8b8c08c2049d1a522c7d8be 100644 (file)
@@ -9,7 +9,7 @@ import (
        "reflect"
        "strings"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/binding"
 
index 8bf49684c685920069dfa9bcdc5dd36141f98b67..36c8762791b6d6e32692b0507f216300dba23173 100644 (file)
@@ -8,7 +8,7 @@ import (
        "net/http"
        "reflect"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/binding"
 
index 2cc93744ce3b5e9d55a791b5f371eb4dc5da474d..eddd647528df16da95ab0b6534b341e6a426f0cd 100644 (file)
@@ -8,7 +8,7 @@ import (
        "net/http"
        "reflect"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/binding"
 
index 0bc6afd4a6bb712e274477fce102e7c7ef042471..cada7eea66c83857a2b3216fc78000bbeeeb11ae 100644 (file)
@@ -9,7 +9,7 @@ import (
        "reflect"
        "strings"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/binding"
 
index 6242a11c18a92dfcd568ae4eaa61887e502f1c63..2d3c29fde100acd5e3d25728fa0636024f486b6c 100644 (file)
@@ -8,11 +8,10 @@ import (
        "net/http"
        "reflect"
 
-       "github.com/codegangsta/martini"
-
-       "github.com/gogits/session"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/binding"
+       "github.com/gogits/session"
 
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/base"
index f50fde99e591513a78215c89bc6e64d82b82ff70..bde3be72692b3b6c74658d88011d9991b79658ae 100644 (file)
@@ -7,7 +7,7 @@ package middleware
 import (
        "net/url"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/modules/base"
 )
index 5f1d42b1e4e46cec266c91f36ba1bca1cc297ed4..d2b268cd876fda2c26db166d6e4f82155c76c688 100644 (file)
@@ -15,7 +15,7 @@ import (
        "strings"
        "time"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/cache"
        "github.com/gogits/git"
index dcf85246089f6799e6a303dc5644de0e300a33c9..fc8e1a81153a7d32a08a29185971c81ceb486b50 100644 (file)
@@ -11,7 +11,7 @@ import (
        "runtime"
        "time"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 )
 
 var isWindows bool
index 869ef9abaa834eefe77ab6e594ae1ff03574df36..98d485afecd64969669d9512359b9435c37041bf 100644 (file)
@@ -17,7 +17,7 @@ import (
        "path/filepath"
        "time"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/modules/base"
 )
index 6912cd8380c735eef8197661b18ac3b5e5612d81..f446d6a85bb2a6cd8255f683e85381e1817e62c4 100644 (file)
@@ -9,7 +9,7 @@ import (
        "fmt"
        "strings"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/git"
 
index f303439fd150b2454582c22c6d8b6d017ae09fb9..18a43ff8179aa26b13f9550c1cbadec979aa73b6 100644 (file)
@@ -10,7 +10,7 @@ import (
        "strings"
        "time"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/base"
index 7f66c5528ca068bc17008dfcc9886e1311be4d41..9f043507d1bfd16d25ddbec4ca7c36d992ee650b 100644 (file)
@@ -7,7 +7,7 @@ package admin
 import (
        "strings"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/auth"
index d2f77ac4d5ff0886704a4a63410ff77f292ed163..63d5d9a5bbbd3ac8b1df476ead7755f6e78efa82 100644 (file)
@@ -5,7 +5,7 @@
 package dev
 
 import (
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/base"
index cca652f9cf7470c883b58ed85ca6974c13547544..2c993c559e6c61b39254462fb9eb79cc0c309f75 100644 (file)
@@ -10,7 +10,7 @@ import (
        "strings"
 
        "github.com/Unknwon/goconfig"
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
        "github.com/lunny/xorm"
 
        "github.com/gogits/gogs/models"
index c598db436c4f4239b2842c1be7c67f5c1f7da014..ffd118ae14e3ec232e0913ad5b6cd3cdca1cf56f 100644 (file)
@@ -5,7 +5,8 @@
 package repo
 
 import (
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
+
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/middleware"
 )
index 449f644391461ebe45039cf26ea26312cd30e4d1..d29c40e67e0e3cebc84293848d1a0e035d2e1dd1 100644 (file)
@@ -8,7 +8,7 @@ import (
        "container/list"
        "path"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/base"
index b2253e9f485ba8fbe7153bf6be96a0cff3ee2398..f2d8959a046055fe4c96d5e8473c198e1c027f01 100644 (file)
@@ -9,7 +9,7 @@ import (
        "net/url"
        "strings"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/auth"
index 93b6a9f7cca10f85665a35d3f3597e045c8a78c7..430c6a815fe148f07b0ef52851efba7cbc1a5e49 100644 (file)
@@ -5,7 +5,7 @@
 package repo
 
 import (
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/modules/middleware"
 )
index 5b0a165d5c57fbfe44b0c5a9c41deee3544e3f89..1cd3dd86baa3a997753b0e577aafcc53753aceb5 100644 (file)
@@ -9,7 +9,7 @@ import (
        "path/filepath"
        "strings"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/webdav"
 
index aeaf91c97dda90e34117159dbbb101b5b740164e..08930e22dfa23b067f6bfddfad54de02b0e9261f 100644 (file)
@@ -9,7 +9,7 @@ import (
        "net/url"
        "strings"
 
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/gogs/models"
        "github.com/gogits/gogs/modules/auth"
diff --git a/web.go b/web.go
index 6f25271977f10890dfbf2e18cb3a82111a9a1233..412dcb622b3d5c53ad2b31f04ef9915113871130 100644 (file)
--- a/web.go
+++ b/web.go
@@ -10,7 +10,7 @@ import (
        "net/http"
 
        "github.com/codegangsta/cli"
-       "github.com/codegangsta/martini"
+       "github.com/go-martini/martini"
 
        "github.com/gogits/binding"