mirror of
https://github.com/gogs/gogs.git
synced 2025-12-24 01:00: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:
@@ -20,8 +20,8 @@ import (
|
||||
"time"
|
||||
"unicode/utf8"
|
||||
|
||||
"github.com/Unknwon/com"
|
||||
"github.com/go-xorm/xorm"
|
||||
"github.com/unknwon/com"
|
||||
"xorm.io/xorm"
|
||||
"github.com/nfnt/resize"
|
||||
"golang.org/x/crypto/pbkdf2"
|
||||
log "gopkg.in/clog.v1"
|
||||
@@ -29,10 +29,10 @@ import (
|
||||
"github.com/gogs/git-module"
|
||||
api "github.com/gogs/go-gogs-client"
|
||||
|
||||
"github.com/gogs/gogs/models/errors"
|
||||
"github.com/gogs/gogs/pkg/avatar"
|
||||
"github.com/gogs/gogs/pkg/setting"
|
||||
"github.com/gogs/gogs/pkg/tool"
|
||||
"gogs.io/gogs/models/errors"
|
||||
"gogs.io/gogs/pkg/avatar"
|
||||
"gogs.io/gogs/pkg/setting"
|
||||
"gogs.io/gogs/pkg/tool"
|
||||
)
|
||||
|
||||
// USER_AVATAR_URL_PREFIX is used to identify a URL is to access user avatar.
|
||||
|
||||
Reference in New Issue
Block a user