Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
type User struct { ID uint `json:"id" gorm:"primary_key"` FirstName string `json:"firstname" sql:"not null"` LastName string `json:"lastname" sql:"not null"` Email string `json:"email" sql:"not null;unique"` Password string `json:"-" sql:"not null"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at" sql:"index"` }
User holds user personal data
Click to show internal directories.
Click to hide internal directories.