Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { ID int `json:"id,omitempty"` AccountID int `json:"-"` CreatedAt time.Time `json:"created_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty"` Theme string `json:"theme,omitempty"` }
Profile holds specific application settings linked to an Account.
func (*Profile) BeforeInsert ¶
BeforeInsert hook executed before database insert operation.
func (*Profile) BeforeUpdate ¶
BeforeUpdate hook executed before database update operation.
Click to show internal directories.
Click to hide internal directories.