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/auth/auth.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pkg/auth') diff --git a/pkg/auth/auth.go b/pkg/auth/auth.go index 18eb5830..9c4ecdc3 100644 --- a/pkg/auth/auth.go +++ b/pkg/auth/auth.go @@ -13,10 +13,10 @@ import ( log "gopkg.in/clog.v1" "gopkg.in/macaron.v1" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/tool" + "gogs.io/gogs/models" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/pkg/tool" ) func IsAPIPath(url string) bool { -- cgit v1.2.3