Change new martini impot path

This commit is contained in:
Unknown 2014-03-30 12:11:28 -04:00
parent 3698431fc1
commit d0e6a4c25a
22 changed files with 24 additions and 24 deletions

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"reflect" "reflect"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/binding" "github.com/gogits/binding"

View File

@ -9,7 +9,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/binding" "github.com/gogits/binding"

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"reflect" "reflect"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/binding" "github.com/gogits/binding"

View File

@ -8,7 +8,7 @@ import (
"net/http" "net/http"
"reflect" "reflect"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/binding" "github.com/gogits/binding"

View File

@ -9,7 +9,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/binding" "github.com/gogits/binding"

View File

@ -8,11 +8,10 @@ import (
"net/http" "net/http"
"reflect" "reflect"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/session"
"github.com/gogits/binding" "github.com/gogits/binding"
"github.com/gogits/session"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/base"

View File

@ -7,7 +7,7 @@ package middleware
import ( import (
"net/url" "net/url"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/base"
) )

View File

@ -15,7 +15,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/cache" "github.com/gogits/cache"
"github.com/gogits/git" "github.com/gogits/git"

View File

@ -11,7 +11,7 @@ import (
"runtime" "runtime"
"time" "time"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
) )
var isWindows bool var isWindows bool

View File

@ -17,7 +17,7 @@ import (
"path/filepath" "path/filepath"
"time" "time"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/base"
) )

View File

@ -9,7 +9,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/git" "github.com/gogits/git"

View File

@ -10,7 +10,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/base"

View File

@ -7,7 +7,7 @@ package admin
import ( import (
"strings" "strings"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth" "github.com/gogits/gogs/modules/auth"

View File

@ -5,7 +5,7 @@
package dev package dev
import ( import (
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/base"

View File

@ -10,7 +10,7 @@ import (
"strings" "strings"
"github.com/Unknwon/goconfig" "github.com/Unknwon/goconfig"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/lunny/xorm" "github.com/lunny/xorm"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"

View File

@ -5,7 +5,8 @@
package repo package repo
import ( import (
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/middleware" "github.com/gogits/gogs/modules/middleware"
) )

View File

@ -8,7 +8,7 @@ import (
"container/list" "container/list"
"path" "path"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/base"

View File

@ -9,7 +9,7 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth" "github.com/gogits/gogs/modules/auth"

View File

@ -5,7 +5,7 @@
package repo package repo
import ( import (
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/modules/middleware" "github.com/gogits/gogs/modules/middleware"
) )

View File

@ -9,7 +9,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/webdav" "github.com/gogits/webdav"

View File

@ -9,7 +9,7 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth" "github.com/gogits/gogs/modules/auth"

2
web.go
View File

@ -10,7 +10,7 @@ import (
"net/http" "net/http"
"github.com/codegangsta/cli" "github.com/codegangsta/cli"
"github.com/codegangsta/martini" "github.com/go-martini/martini"
"github.com/gogits/binding" "github.com/gogits/binding"