Browse Source

Change new martini impot path

tags/v1.2.0-rc1
Unknown 11 years ago
parent
commit
d0e6a4c25a
22 changed files with 24 additions and 24 deletions
  1. +1
    -1
      modules/auth/admin.go
  2. +1
    -1
      modules/auth/auth.go
  3. +1
    -1
      modules/auth/issue.go
  4. +1
    -1
      modules/auth/repo.go
  5. +1
    -1
      modules/auth/setting.go
  6. +2
    -3
      modules/auth/user.go
  7. +1
    -1
      modules/middleware/auth.go
  8. +1
    -1
      modules/middleware/context.go
  9. +1
    -1
      modules/middleware/logger.go
  10. +1
    -1
      modules/middleware/render.go
  11. +1
    -1
      modules/middleware/repo.go
  12. +1
    -1
      routers/admin/admin.go
  13. +1
    -1
      routers/admin/user.go
  14. +1
    -1
      routers/dev/template.go
  15. +1
    -1
      routers/install.go
  16. +2
    -1
      routers/repo/branch.go
  17. +1
    -1
      routers/repo/commit.go
  18. +1
    -1
      routers/repo/issue.go
  19. +1
    -1
      routers/repo/pull.go
  20. +1
    -1
      routers/repo/repo.go
  21. +1
    -1
      routers/user/user.go
  22. +1
    -1
      web.go

+ 1
- 1
modules/auth/admin.go View File

@@ -8,7 +8,7 @@ import (
"net/http"
"reflect"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/binding"



+ 1
- 1
modules/auth/auth.go View File

@@ -9,7 +9,7 @@ import (
"reflect"
"strings"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/binding"



+ 1
- 1
modules/auth/issue.go View File

@@ -8,7 +8,7 @@ import (
"net/http"
"reflect"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/binding"



+ 1
- 1
modules/auth/repo.go View File

@@ -8,7 +8,7 @@ import (
"net/http"
"reflect"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/binding"



+ 1
- 1
modules/auth/setting.go View File

@@ -9,7 +9,7 @@ import (
"reflect"
"strings"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/binding"



+ 2
- 3
modules/auth/user.go View 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"


+ 1
- 1
modules/middleware/auth.go View 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"
)


+ 1
- 1
modules/middleware/context.go View 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"


+ 1
- 1
modules/middleware/logger.go View File

@@ -11,7 +11,7 @@ import (
"runtime"
"time"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"
)

var isWindows bool


+ 1
- 1
modules/middleware/render.go View File

@@ -17,7 +17,7 @@ import (
"path/filepath"
"time"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/gogs/modules/base"
)


+ 1
- 1
modules/middleware/repo.go View File

@@ -9,7 +9,7 @@ import (
"fmt"
"strings"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/git"



+ 1
- 1
routers/admin/admin.go View 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"


+ 1
- 1
routers/admin/user.go View 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"


+ 1
- 1
routers/dev/template.go View 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"


+ 1
- 1
routers/install.go View 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"


+ 2
- 1
routers/repo/branch.go View 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"
)


+ 1
- 1
routers/repo/commit.go View 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"


+ 1
- 1
routers/repo/issue.go View 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"


+ 1
- 1
routers/repo/pull.go View File

@@ -5,7 +5,7 @@
package repo

import (
"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/gogs/modules/middleware"
)


+ 1
- 1
routers/repo/repo.go View File

@@ -9,7 +9,7 @@ import (
"path/filepath"
"strings"

"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/webdav"



+ 1
- 1
routers/user/user.go View 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"


+ 1
- 1
web.go View File

@@ -10,7 +10,7 @@ import (
"net/http"

"github.com/codegangsta/cli"
"github.com/codegangsta/martini"
"github.com/go-martini/martini"

"github.com/gogits/binding"



Loading…
Cancel
Save