Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: yxxhero <aiopsclub@163.com>
  • Loading branch information
yxxhero authored and gaius-qi committed Aug 31, 2021
1 parent 6c66fb8 commit 6083234
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manager/model/oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ type Oauth struct {
ClientID string `gorm:"column:client_id;type:varchar(256);index:unique;not null;comment:client id for oauth" json:"client_id"`
ClientSecret string `gorm:"column:client_secret;type:varchar(1024);comment:client secret for oauth" json:"client_secret"`
// scope list split by ','
Scopes string `gorm:"column:scopes;type:varchar(1024);comment:scopes" json:"scopes"`
UserInfoURL string `gorm:"column:user_info_url;type:varchar(256);not null;comment:user info url" json:"user_info_url"`
AuthURL string `gorm:"column:auth_url;type:varchar(256);not null;comment:auth url" json:"auth_url"`
TokenURL string `gorm:"column:token_url;type:varchar(256);not null;comment:token url" json:"token_url"`
Scopes string `gorm:"column:scopes;type:varchar(1024);comment:scopes" json:"scopes"`
UserInfoURL string `gorm:"column:user_info_url;type:varchar(256);not null;comment:user info url" json:"user_info_url"`
AuthURL string `gorm:"column:auth_url;type:varchar(256);not null;comment:auth url" json:"auth_url"`
TokenURL string `gorm:"column:token_url;type:varchar(256);not null;comment:token url" json:"token_url"`
}

0 comments on commit 6083234

Please # to comment.