Documentation ¶
Index ¶
- type UserRepo
- func (ur *UserRepo) CreateUser(ctx context.Context, user *entity.User) (int, error)
- func (ur *UserRepo) GetUserByEmail(ctx context.Context, email string) (user *entity.User, err error)
- func (ur *UserRepo) GetUserByID(ctx context.Context, id string) (user *entity.User, err error)
- func (ur *UserRepo) GetUsers(ctx context.Context) (users []*entity.User, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepo ¶
func NewUserRepo ¶
func (*UserRepo) CreateUser ¶
func (*UserRepo) GetUserByEmail ¶
func (*UserRepo) GetUserByID ¶
Click to show internal directories.
Click to hide internal directories.