remove slice pointers

This commit is contained in:
dhax 2017-10-30 00:00:20 +01:00
parent 543b39f822
commit a774338ccd
3 changed files with 7 additions and 7 deletions

View file

@ -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.