Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is basic internal information
type Users ¶
type Users struct {
// Basic methods
Model `json:"-"`
// User's row ID
ID int `json:"id,omitempty"`
// User's first name
FirstName string `json:"first_name,omitempty"`
// User's middle name (if exists)
MiddleName string `json:"middle_name,omitempty"`
// User's last name
LastName string `json:"last_name,omitempty"`
// User's username that is in use
Username string `json:"username,omitempty"`
// When was the record created
CreatedAt time.Time `json:"created_at,omitempty"`
// When was the record last updated
UpdatedAt time.Time `json:"updated_at,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.