summaryrefslogtreecommitdiffstats
path: root/models/user_openid.go
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2017-03-21 01:55:00 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-03-21 08:55:00 +0800
commitf73e7344111645b836e767bbf80b96834651805f (patch)
tree0315cb59a9b56bcb594d2cd4dccf385557e834ba /models/user_openid.go
parent888dee3b5f931062ea97e57130b26d1943e5173e (diff)
downloadgitea-f73e7344111645b836e767bbf80b96834651805f.tar.gz
gitea-f73e7344111645b836e767bbf80b96834651805f.zip
Run "make fmt" with go-1.6 (#1333)
Diffstat (limited to 'models/user_openid.go')
-rw-r--r--models/user_openid.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/models/user_openid.go b/models/user_openid.go
index 18e847d89d..db84e2e08f 100644
--- a/models/user_openid.go
+++ b/models/user_openid.go
@@ -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}
}
-