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 --- models/pull.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'models/pull.go') diff --git a/models/pull.go b/models/pull.go index 3a80cbc1..edb37c22 100644 --- a/models/pull.go +++ b/models/pull.go @@ -11,17 +11,17 @@ import ( "strings" "time" - "github.com/Unknwon/com" - "github.com/go-xorm/xorm" + "github.com/unknwon/com" + "xorm.io/xorm" log "gopkg.in/clog.v1" "github.com/gogs/git-module" api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/process" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/sync" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/process" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/pkg/sync" ) var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength) -- cgit v1.2.3