aboutsummaryrefslogtreecommitdiff
path: root/pkg/form
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2019-10-23 23:03:17 -0700
committerGitHub <noreply@github.com>2019-10-23 23:03:17 -0700
commit613139e7bef81d3573e7988a47eb6765f3de347a (patch)
tree49de7277898d3ff47a122c072568edb8ed4c9ac9 /pkg/form
parentfb100dbf98f02e4c631d142ff0f52ec29ee2f00c (diff)
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
Diffstat (limited to 'pkg/form')
-rw-r--r--pkg/form/form.go2
-rw-r--r--pkg/form/repo.go4
2 files changed, 3 insertions, 3 deletions
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"
)
// _______________________________________ _________.______________________ _______________.___.