Documentation ¶
Index ¶
- func CreateUser(user *table.User) (err error)
- func DB() *gorm.DB
- func DeleteUserById(userId int64) (err error)
- func GetAllUsers() (users []*table.User, err error)
- func GetUserById(userId int64) (user *table.User, err error)
- func GetUserByNameAndPassword(name, password string) (user *table.User, err error)
- func UpdateUserNameById(userName string, userId int64) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func DeleteUserById ¶
func GetAllUsers ¶
func UpdateUserNameById ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.