Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepo ¶
type UserRepo interface { FindAll(start, count int) ([]model.User, error) FindByID(id int) (*model.User, error) FindByEmail(email string) (*model.User, error) Create(user *model.User) (*model.User, error) Update(user *model.User) (*model.User, error) DeleteByID(id int) (*model.User, error) Count() (int, error) }
Click to show internal directories.
Click to hide internal directories.