mirror of
https://github.com/gogs/gogs.git
synced 2025-12-21 15:50:00 +01:00
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:
@@ -11,12 +11,12 @@ 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/mailer"
|
||||
"github.com/gogs/gogs/pkg/setting"
|
||||
"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/mailer"
|
||||
"gogs.io/gogs/pkg/setting"
|
||||
"gogs.io/gogs/routes/api/v1/user"
|
||||
)
|
||||
|
||||
func parseLoginSource(c *context.APIContext, u *models.User, sourceID int64, loginName string) {
|
||||
|
||||
Reference in New Issue
Block a user