Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCreateUser = fmt.Errorf("database failed to create user") ErrDeleteUser = fmt.Errorf("database failed to delete user") ErrUpdateUser = fmt.Errorf("database failed to update user") ErrNoUserFound = fmt.Errorf("database failed to get user") ErrNoUsersFound = fmt.Errorf("database failed to get users") )
Functions ¶
This section is empty.
Types ¶
type CreateUserRequest ¶
type DeleteUserRequest ¶
type DeleteUserRequest struct {
ID int64
}
type UpdateUserRequest ¶
type UserDatabase ¶
func NewUserDatabase ¶
func NewUserDatabase() *UserDatabase
Click to show internal directories.
Click to hide internal directories.