fix golangci-lint check error

This commit is contained in:
jianzhiyao 2021-03-08 16:35:48 +08:00 committed by GitHub
parent f554a1c543
commit 82c4d4e134
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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