mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:49:22 +00:00
remove unused struct (#1062)
This commit is contained in:
parent
e4134debd1
commit
50918084bb
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue