Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID uuid.UUID `json:"-" db:"id"` CreatedAt time.Time `json:"-" db:"created_at"` UpdatedAt time.Time `json:"-" db:"updated_at"` BloodGroup string `json:"b" db:"blood_grp"` Dept string `json:"d" db:"department"` Gender string `json:"g" db:"gender"` Hall string `json:"h" db:"hall"` Hometown string `json:"a" db:"hometown"` Name string `json:"n" db:"name"` Program string `json:"p" db:"program"` Roll string `json:"i" db:"roll"` Room string `json:"r" db:"room"` Username string `json:"u" db:"username"` }
func (*User) Validate ¶
Validate gets run everytime you call a "pop.Validate" method. This method is not required and may be deleted.
func (*User) ValidateSave ¶
ValidateSave gets run everytime you call "pop.ValidateSave" method. This method is not required and may be deleted.
func (*User) ValidateUpdate ¶
ValidateUpdate gets run everytime you call "pop.ValidateUpdate" method. This method is not required and may be deleted.
Click to show internal directories.
Click to hide internal directories.