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/form/form.go | 2 +- pkg/form/repo.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/form') diff --git a/pkg/form/form.go b/pkg/form/form.go index 2efbf4fa..4cd81fac 100644 --- a/pkg/form/form.go +++ b/pkg/form/form.go @@ -10,7 +10,7 @@ import ( "regexp" "strings" - "github.com/Unknwon/com" + "github.com/unknwon/com" "github.com/go-macaron/binding" "gopkg.in/macaron.v1" ) diff --git a/pkg/form/repo.go b/pkg/form/repo.go index a7ab1fa7..fa5505f2 100644 --- a/pkg/form/repo.go +++ b/pkg/form/repo.go @@ -8,11 +8,11 @@ import ( "net/url" "strings" - "github.com/Unknwon/com" + "github.com/unknwon/com" "github.com/go-macaron/binding" "gopkg.in/macaron.v1" - "github.com/gogs/gogs/models" + "gogs.io/gogs/models" ) // _______________________________________ _________.______________________ _______________.___. -- cgit v1.2.3