Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { common.Entity // ID common.PrimaryID `json:"id"` Name string `json:"name"` Email string `json:"email"` Age uint8 `json:"age"` Birthday time.Time `json:"time"` CreatedAt time.Time `gorm:"autoCreateTime" json:"createdAt"` // auditable UpdatedAt time.Time `gorm:"autoUpdateTime" json:"updated"` // auditable }
User model.
func NewUserWithID ¶
Click to show internal directories.
Click to hide internal directories.