Documentation ¶
Index ¶
- type IRepo
- func (_m *IRepo) AddMembers(ctx contextx.Contextx, id int64, newUsers []*user.Profile) (*event.Activity, error)
- func (_m *IRepo) Count(ctx contextx.Contextx, userID int64) (int, error)
- func (_m *IRepo) Create(ctx contextx.Contextx, created *event.Activity) (*event.Activity, error)
- func (_m *IRepo) Delete(ctx contextx.Contextx, id int64, userID int64) error
- func (_m *IRepo) GetByEmails(ctx contextx.Contextx, emails []string) ([]*user.Profile, error)
- func (_m *IRepo) GetByID(ctx contextx.Contextx, id int64, userID int64) (*event.Activity, error)
- func (_m *IRepo) List(ctx contextx.Contextx, userID int64, limit int, offset int) ([]*event.Activity, error)
- func (_m *IRepo) Update(ctx contextx.Contextx, updated *event.Activity) (*event.Activity, 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) AddMembers ¶
func (_m *IRepo) AddMembers(ctx contextx.Contextx, id int64, newUsers []*user.Profile) (*event.Activity, error)
AddMembers provides a mock function with given fields: ctx, id, newUsers
func (*IRepo) GetByEmails ¶ added in v0.1.2
GetByEmails provides a mock function with given fields: ctx, emails
Click to show internal directories.
Click to hide internal directories.