|
|
@ -39,9 +39,9 @@ import (
|
|
|
|
"github.com/go-macaron/i18n"
|
|
|
|
"github.com/go-macaron/i18n"
|
|
|
|
"github.com/go-macaron/session"
|
|
|
|
"github.com/go-macaron/session"
|
|
|
|
"github.com/go-macaron/toolbox"
|
|
|
|
"github.com/go-macaron/toolbox"
|
|
|
|
|
|
|
|
context2 "github.com/gorilla/context"
|
|
|
|
"github.com/urfave/cli"
|
|
|
|
"github.com/urfave/cli"
|
|
|
|
macaron "gopkg.in/macaron.v1"
|
|
|
|
macaron "gopkg.in/macaron.v1"
|
|
|
|
context2 "github.com/gorilla/context"
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
// CmdWeb represents the available web sub-command.
|
|
|
|
// CmdWeb represents the available web sub-command.
|
|
|
@ -70,13 +70,6 @@ and it takes care of all the other things for you`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// VerChecker is a listing of required dependency versions.
|
|
|
|
|
|
|
|
type VerChecker struct {
|
|
|
|
|
|
|
|
ImportPath string
|
|
|
|
|
|
|
|
Version func() string
|
|
|
|
|
|
|
|
Expected string
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// newMacaron initializes Macaron instance.
|
|
|
|
// newMacaron initializes Macaron instance.
|
|
|
|
func newMacaron() *macaron.Macaron {
|
|
|
|
func newMacaron() *macaron.Macaron {
|
|
|
|
m := macaron.New()
|
|
|
|
m := macaron.New()
|
|
|
|