Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *pop.Connection
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID int `json:"id" db:"id"` CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` FirstName string `json:"first_name" db:"first_name"` LastName string `json:"last_name" db:"last_name"` Email string `json:"email" db:"email"` }
func (*User) ValidateNew ¶
func (*User) ValidateUpdate ¶
Click to show internal directories.
Click to hide internal directories.