remove slice pointers
This commit is contained in:
parent
543b39f822
commit
a774338ccd
3 changed files with 7 additions and 7 deletions
|
|
@ -23,7 +23,7 @@ type Account struct {
|
|||
Active bool `sql:",notnull" json:"active"`
|
||||
Roles []string `pg:",array" json:"roles,omitempty"`
|
||||
|
||||
Token []*Token `json:"token,omitempty"`
|
||||
Token []Token `json:"token,omitempty"`
|
||||
}
|
||||
|
||||
// BeforeInsert hook executed before database insert operation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue