mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Run "make fmt" with go-1.6 (#1333)
This commit is contained in:
committed by
Lunny Xiao
parent
888dee3b5f
commit
f73e734411
@@ -18,10 +18,10 @@ var (
|
||||
|
||||
// UserOpenID is the list of all OpenID identities of a user.
|
||||
type UserOpenID struct {
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
UID int64 `xorm:"INDEX NOT NULL"`
|
||||
URI string `xorm:"UNIQUE NOT NULL"`
|
||||
Show bool `xorm:"DEFAULT false"`
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
UID int64 `xorm:"INDEX NOT NULL"`
|
||||
URI string `xorm:"UNIQUE NOT NULL"`
|
||||
Show bool `xorm:"DEFAULT false"`
|
||||
}
|
||||
|
||||
// GetUserOpenIDs returns all openid addresses that belongs to given user.
|
||||
@@ -122,4 +122,3 @@ func GetUserByOpenID(uri string) (*User, error) {
|
||||
|
||||
return nil, ErrUserNotExist{0, uri, 0}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user