From f73e7344111645b836e767bbf80b96834651805f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 21 Mar 2017 01:55:00 +0100 Subject: Run "make fmt" with go-1.6 (#1333) --- models/migrations/v23.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'models/migrations') diff --git a/models/migrations/v23.go b/models/migrations/v23.go index efde684104..4aadf7ef0d 100644 --- a/models/migrations/v23.go +++ b/models/migrations/v23.go @@ -12,12 +12,11 @@ import ( // 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"` + ID int64 `xorm:"pk autoincr"` + UID int64 `xorm:"INDEX NOT NULL"` + URI string `xorm:"UNIQUE NOT NULL"` } - func addUserOpenID(x *xorm.Engine) error { if err := x.Sync2(new(UserOpenID)); err != nil { return fmt.Errorf("Sync2: %v", err) -- cgit v1.2.3