Documentation ¶
Index ¶
- type IRepo
- func (_m *IRepo) GetByEmail(ctx contextx.Contextx, email string) (*user.Profile, error)
- func (_m *IRepo) GetByID(ctx contextx.Contextx, id int64) (*user.Profile, error)
- func (_m *IRepo) GetByToken(ctx contextx.Contextx, token string) (*user.Profile, error)
- func (_m *IRepo) Register(ctx contextx.Contextx, newUser *user.Profile) (*user.Profile, error)
- func (_m *IRepo) UpdateToken(ctx contextx.Contextx, updated *user.Profile) (*user.Profile, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRepo ¶
IRepo is an autogenerated mock type for the IRepo type
func (*IRepo) GetByEmail ¶
GetByEmail provides a mock function with given fields: ctx, email
func (*IRepo) GetByToken ¶
GetByToken provides a mock function with given fields: ctx, token
Click to show internal directories.
Click to hide internal directories.