diff options
Diffstat (limited to 'routers/web')
-rw-r--r-- | routers/web/goget.go | 1 | ||||
-rw-r--r-- | routers/web/repo/issue_test.go | 1 | ||||
-rw-r--r-- | routers/web/web.go | 3 |
3 files changed, 3 insertions, 2 deletions
diff --git a/routers/web/goget.go b/routers/web/goget.go index 9f367a9277..8a8e1797dc 100644 --- a/routers/web/goget.go +++ b/routers/web/goget.go @@ -14,6 +14,7 @@ import ( "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/modules/util" + "github.com/unknwon/com" ) diff --git a/routers/web/repo/issue_test.go b/routers/web/repo/issue_test.go index 6638baf34a..b8862cf43d 100644 --- a/routers/web/repo/issue_test.go +++ b/routers/web/repo/issue_test.go @@ -8,6 +8,7 @@ import ( "testing" "code.gitea.io/gitea/models" + "github.com/stretchr/testify/assert" ) diff --git a/routers/web/web.go b/routers/web/web.go index 132e649d45..f84d357bb1 100644 --- a/routers/web/web.go +++ b/routers/web/web.go @@ -36,8 +36,7 @@ import ( "code.gitea.io/gitea/services/lfs" "code.gitea.io/gitea/services/mailer" - // to registers all internal adapters - _ "code.gitea.io/gitea/modules/session" + _ "code.gitea.io/gitea/modules/session" // to registers all internal adapters "gitea.com/go-chi/captcha" "github.com/NYTimes/gziphandler" |