From 1f44b01e2a21b0e715dfd2ccad4574433c8775c3 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Sat, 5 Nov 2016 17:56:35 +0100 Subject: Fix imports found by goimports. --- cmd/web.go | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) (limited to 'cmd/web.go') diff --git a/cmd/web.go b/cmd/web.go index a43dae38f3..b110c855f4 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -15,23 +15,6 @@ import ( "path" "strings" - "github.com/go-macaron/binding" - "github.com/go-macaron/cache" - "github.com/go-macaron/captcha" - "github.com/go-macaron/csrf" - "github.com/go-macaron/gzip" - "github.com/go-macaron/i18n" - "github.com/go-macaron/session" - "github.com/go-macaron/toolbox" - "github.com/go-xorm/xorm" - "github.com/mcuadros/go-version" - "github.com/urfave/cli" - "gopkg.in/ini.v1" - "gopkg.in/macaron.v1" - - "github.com/gogits/git-module" - "github.com/gogits/go-gogs-client" - "github.com/go-gitea/gitea/models" "github.com/go-gitea/gitea/modules/auth" "github.com/go-gitea/gitea/modules/bindata" @@ -46,6 +29,19 @@ import ( "github.com/go-gitea/gitea/routers/org" "github.com/go-gitea/gitea/routers/repo" "github.com/go-gitea/gitea/routers/user" + "github.com/go-macaron/binding" + "github.com/go-macaron/cache" + "github.com/go-macaron/captcha" + "github.com/go-macaron/csrf" + "github.com/go-macaron/gzip" + "github.com/go-macaron/i18n" + "github.com/go-macaron/session" + "github.com/go-macaron/toolbox" + "github.com/go-xorm/xorm" + git "github.com/gogits/git-module" + "github.com/urfave/cli" + ini "gopkg.in/ini.v1" + macaron "gopkg.in/macaron.v1" ) // CmdWeb represents the available web sub-command. -- cgit v1.2.3