Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoDelete ¶
type AutoDelete struct { Enabled bool `json:"enabled" form:"enabled" default:"false"` After time.Time `json:"after" form:"after" format:"date-time"` }
func (*AutoDelete) Scan ¶
func (a *AutoDelete) Scan(value interface{}) error
Scan implement the sql.Scanner interface (for deserializing AutoDelete from the database)
func (AutoDelete) Validate ¶
func (a AutoDelete) Validate() error
Validate returns an error if the given auto-delete configuration is not valid
Click to show internal directories.
Click to hide internal directories.