fix golangci-lint check error
This commit is contained in:
parent
f554a1c543
commit
82c4d4e134
@ -279,8 +279,8 @@ type User struct {
|
|||||||
Status int16 `orm:"column(Status)"`
|
Status int16 `orm:"column(Status)"`
|
||||||
IsStaff bool
|
IsStaff bool
|
||||||
IsActive bool `orm:"default(true)"`
|
IsActive bool `orm:"default(true)"`
|
||||||
unexport bool `orm:"-"`
|
Unexported bool `orm:"-"`
|
||||||
unexportBool bool
|
UnexportedBool bool
|
||||||
Created time.Time `orm:"auto_now_add;type(date)"`
|
Created time.Time `orm:"auto_now_add;type(date)"`
|
||||||
Updated time.Time `orm:"auto_now"`
|
Updated time.Time `orm:"auto_now"`
|
||||||
Profile *Profile `orm:"null;rel(one);on_delete(set_null)"`
|
Profile *Profile `orm:"null;rel(one);on_delete(set_null)"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user