0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

remove unused struct (#1062)

This commit is contained in:
Lunny Xiao 2017-02-27 09:49:05 +08:00 committed by GitHub
parent e4134debd1
commit 50918084bb

View file

@ -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()