1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-03-24 20:39:49 +01:00

golint refactor for model

This commit is contained in:
yinw 2016-02-26 10:51:44 +08:00
parent 4a0b069994
commit 03f6849a11

View File

@ -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)"`
}