Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func DeleteUser ¶
func HashPassword ¶
Types ¶
type User ¶
type User struct {
ID int `json:"id" orm:"column(id);pk;auto;unique"`
Name string `json:"name" orm:"column(name)"`
Email string `json:"email" orm:"column(email)"`
Address string `json:"address" orm:"column(address)"`
Password string `json:"password,omitempty" orm:"column(password)"`
Token string `json:"token" orm:"-"`
}
User Models
func GetAllUsers ¶
func GetAllUsers() []User
func UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.