summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-27 09:49:05 +0800
committerGitHub <noreply@github.com>2017-02-27 09:49:05 +0800
commit50918084bb1788b6c274376490cce8c4cb1bd3bd (patch)
tree1b7c50f2a58e71b71249d1d0ea6c45ac2056552c /cmd
parente4134debd12ef7e244f712c39adee52667207009 (diff)
downloadgitea-50918084bb1788b6c274376490cce8c4cb1bd3bd.tar.gz
gitea-50918084bb1788b6c274376490cce8c4cb1bd3bd.zip
remove unused struct (#1062)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 982af4a39e..c2d14a7870 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -39,9 +39,9 @@ import (
"github.com/go-macaron/i18n"
"github.com/go-macaron/session"
"github.com/go-macaron/toolbox"
+ context2 "github.com/gorilla/context"
"github.com/urfave/cli"
macaron "gopkg.in/macaron.v1"
- context2 "github.com/gorilla/context"
)
// 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.
func newMacaron() *macaron.Macaron {
m := macaron.New()