mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 08:38:03 +01:00
golint refactor for model
This commit is contained in:
parent
4a0b069994
commit
03f6849a11
@ -22,7 +22,7 @@ const (
|
||||
)
|
||||
|
||||
type Role struct {
|
||||
RoleID int `json:"role_id", orm:"column(role_id)"`
|
||||
RoleCode string `json:"role_code, orm:"column(role_code)""`
|
||||
Name string `json:"role_name", orm:"column(name)"`
|
||||
RoleID int `json:"role_id" orm:"column(role_id)"`
|
||||
RoleCode string `json:"role_code" orm:"column(role_code)"`
|
||||
Name string `json:"role_name" orm:"column(name)"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user