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/webhook.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'models/webhook.go') diff --git a/models/webhook.go b/models/webhook.go index 03e8a2a9..6f39ab7c 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -14,17 +14,17 @@ import ( "strings" "time" - "github.com/go-xorm/xorm" + "xorm.io/xorm" "github.com/json-iterator/go" gouuid "github.com/satori/go.uuid" log "gopkg.in/clog.v1" api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/httplib" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/sync" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/httplib" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/pkg/sync" ) var HookQueue = sync.NewUniqueQueue(setting.Webhook.QueueLength) -- cgit v1.2.3