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 --- routes/install.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'routes/install.go') diff --git a/routes/install.go b/routes/install.go index e0a3f944..6a5d3e22 100644 --- a/routes/install.go +++ b/routes/install.go @@ -11,25 +11,25 @@ import ( "path/filepath" "strings" - "github.com/Unknwon/com" - "github.com/go-xorm/xorm" + "github.com/unknwon/com" + "xorm.io/xorm" log "gopkg.in/clog.v1" "gopkg.in/ini.v1" "gopkg.in/macaron.v1" "github.com/gogs/git-module" - "github.com/gogs/gogs/models" - "github.com/gogs/gogs/pkg/context" - "github.com/gogs/gogs/pkg/cron" - "github.com/gogs/gogs/pkg/form" - "github.com/gogs/gogs/pkg/mailer" - "github.com/gogs/gogs/pkg/markup" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/ssh" - "github.com/gogs/gogs/pkg/template/highlight" - "github.com/gogs/gogs/pkg/tool" - "github.com/gogs/gogs/pkg/user" + "gogs.io/gogs/models" + "gogs.io/gogs/pkg/context" + "gogs.io/gogs/pkg/cron" + "gogs.io/gogs/pkg/form" + "gogs.io/gogs/pkg/mailer" + "gogs.io/gogs/pkg/markup" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/pkg/ssh" + "gogs.io/gogs/pkg/template/highlight" + "gogs.io/gogs/pkg/tool" + "gogs.io/gogs/pkg/user" ) const ( -- cgit v1.2.3