Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("User not found")
ErrNotFound error trown when user is not found
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID int64 `json:"id"` UUID string `json:"uuid"` Name string `json:"name,omitempty"` Email string `json:"email,omitempty"` Password string `json:"password,omitempty"` Hint string `json:"hint"` }
User struct defines a user
Click to show internal directories.
Click to hide internal directories.