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
This commit is contained in:
Unknwon
2019-10-23 23:03:17 -07:00
committed by GitHub
parent fb100dbf98
commit 613139e7be
1496 changed files with 985 additions and 785022 deletions

View File

@@ -15,18 +15,18 @@ import (
"path/filepath"
"strings"
"github.com/Unknwon/com"
"github.com/unknwon/com"
"github.com/urfave/cli"
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
"github.com/gogs/gogs/models"
"github.com/gogs/gogs/models/errors"
"github.com/gogs/gogs/pkg/httplib"
"github.com/gogs/gogs/pkg/mailer"
"github.com/gogs/gogs/pkg/setting"
"github.com/gogs/gogs/pkg/template"
"gogs.io/gogs/models"
"gogs.io/gogs/models/errors"
"gogs.io/gogs/pkg/httplib"
"gogs.io/gogs/pkg/mailer"
"gogs.io/gogs/pkg/setting"
"gogs.io/gogs/pkg/template"
)
var (