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)"`
|
||||
IsStaff bool
|
||||
IsActive bool `orm:"default(true)"`
|
||||
unexport bool `orm:"-"`
|
||||
unexportBool bool
|
||||
Unexported bool `orm:"-"`
|
||||
UnexportedBool bool
|
||||
Created time.Time `orm:"auto_now_add;type(date)"`
|
||||
Updated time.Time `orm:"auto_now"`
|
||||
Profile *Profile `orm:"null;rel(one);on_delete(set_null)"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user