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

@@ -13,15 +13,15 @@ import (
api "github.com/gogs/go-gogs-client"
"github.com/gogs/gogs/models"
"github.com/gogs/gogs/models/errors"
"github.com/gogs/gogs/pkg/context"
"github.com/gogs/gogs/pkg/form"
"github.com/gogs/gogs/routes/api/v1/admin"
"github.com/gogs/gogs/routes/api/v1/misc"
"github.com/gogs/gogs/routes/api/v1/org"
"github.com/gogs/gogs/routes/api/v1/repo"
"github.com/gogs/gogs/routes/api/v1/user"
"gogs.io/gogs/models"
"gogs.io/gogs/models/errors"
"gogs.io/gogs/pkg/context"
"gogs.io/gogs/pkg/form"
"gogs.io/gogs/routes/api/v1/admin"
"gogs.io/gogs/routes/api/v1/misc"
"gogs.io/gogs/routes/api/v1/org"
"gogs.io/gogs/routes/api/v1/repo"
"gogs.io/gogs/routes/api/v1/user"
)
// repoAssignment extracts information from URL parameters to retrieve the repository,