Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserRepository ¶
func NewUserRepository() user.Repository
NewUserRepository will create new an UserRepository object representation of user.Repository interface
Types ¶
type UserRepository ¶
type UserRepository struct { }
UserRepository repository
func (*UserRepository) GetByID ¶
func (r *UserRepository) GetByID(id string) (data interface{}, err error)
GetByID will get data by ID
Click to show internal directories.
Click to hide internal directories.