Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Widget ¶
type Widget struct { ID uuid.UUID `xml:"id" db:"id"` CreatedAt time.Time `xml:"created_at" db:"created_at"` UpdatedAt time.Time `xml:"updated_at" db:"updated_at"` Name string `xml:"name" db:"name"` Description string `xml:"description" db:"description"` Age int `xml:"age" db:"age"` Bar nulls.String `xml:"bar" db:"bar"` }
func (*Widget) Validate ¶
Validate gets run every time you call a "pop.Validate*" (pop.ValidateAndSave, pop.ValidateAndCreate, pop.ValidateAndUpdate) method. This method is not required and may be deleted.
func (*Widget) ValidateCreate ¶
ValidateCreate gets run every time you call "pop.ValidateAndCreate" method. This method is not required and may be deleted.
func (*Widget) ValidateUpdate ¶
ValidateUpdate gets run every time you call "pop.ValidateAndUpdate" method. This method is not required and may be deleted.
Click to show internal directories.
Click to hide internal directories.