Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUser ¶
Types ¶
type Users ¶
type Users struct { Id string `orm:"unique;size(10);pk;column(id)"form:"id"` Username string `orm:"size(10);column(username)"form:"username"` Gender string `orm:"unique;size(10);default(null);column(gender)"form:"gender"` Age int `orm:"unique;size(10);default(null);column(age)"form:"age"` Address string `orm:"unique;size(20);default(null);column(address)"form:"address"` Email string `orm:"unique;size(50);default(null);column(email)"form:"email"` Phone string `orm:"unique;size(50);default(null);column(phone)"form:"phone"` }
func GetAllUsers ¶
func GetOneUser ¶
Click to show internal directories.
Click to hide internal directories.