From 613139e7bef81d3573e7988a47eb6765f3de347a Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 23 Oct 2019 23:03:17 -0700 Subject: Enable Go modules (#5835) * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs --- pkg/context/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/context/api.go') diff --git a/pkg/context/api.go b/pkg/context/api.go index dec7cfba..c4812475 100644 --- a/pkg/context/api.go +++ b/pkg/context/api.go @@ -9,11 +9,11 @@ import ( "net/http" "strings" - "github.com/Unknwon/paginater" + "github.com/unknwon/paginater" log "gopkg.in/clog.v1" "gopkg.in/macaron.v1" - "github.com/gogs/gogs/pkg/setting" + "gogs.io/gogs/pkg/setting" ) type APIContext struct { -- cgit v1.2.3