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

@@ -16,19 +16,19 @@ import (
"sync"
"time"
"github.com/Unknwon/com"
"github.com/go-macaron/binding"
"github.com/go-xorm/core"
"github.com/go-xorm/xorm"
"github.com/json-iterator/go"
"github.com/unknwon/com"
log "gopkg.in/clog.v1"
"gopkg.in/ini.v1"
"xorm.io/core"
"xorm.io/xorm"
"github.com/gogs/gogs/models/errors"
"github.com/gogs/gogs/pkg/auth/github"
"github.com/gogs/gogs/pkg/auth/ldap"
"github.com/gogs/gogs/pkg/auth/pam"
"github.com/gogs/gogs/pkg/setting"
"gogs.io/gogs/models/errors"
"gogs.io/gogs/pkg/auth/github"
"gogs.io/gogs/pkg/auth/ldap"
"gogs.io/gogs/pkg/auth/pam"
"gogs.io/gogs/pkg/setting"
)
type LoginType int