Documentation ¶
Index ¶
- type DB
- func (db *DB) CreateUser(input *model.NewUser) (*model.User, error)
- func (db *DB) DeleteUser(ID string) (*model.DeleteUser, error)
- func (db *DB) GetUsers(ID string) ([]*model.User, error)
- func (db *DB) SingleUser(ID string) (*model.User, error)
- func (db *DB) UpdateUser(ID string, input *model.UpdateUser) (*model.User, error)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) DeleteUser ¶
func (db *DB) DeleteUser(ID string) (*model.DeleteUser, error)
func (*DB) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.