Documentation ¶
Index ¶
- type StudyRepository
- func (_m *StudyRepository) CreateStudy(ctx context.Context, name string, userId string) (types.Study, error)
- func (_m *StudyRepository) GetStudies(ctx context.Context, offset int, limit int, userId string) ([]types.Study, error)
- func (_m *StudyRepository) GetStudyBySlug(ctx context.Context, slug string, userId string) (types.Study, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StudyRepository ¶
StudyRepository is an autogenerated mock type for the StudyRepository type
func (*StudyRepository) CreateStudy ¶
func (_m *StudyRepository) CreateStudy(ctx context.Context, name string, userId string) (types.Study, error)
CreateStudy provides a mock function with given fields: ctx, name, userId
func (*StudyRepository) GetStudies ¶
func (_m *StudyRepository) GetStudies(ctx context.Context, offset int, limit int, userId string) ([]types.Study, error)
GetStudies provides a mock function with given fields: ctx, offset, limit, userId
func (*StudyRepository) GetStudyBySlug ¶
func (_m *StudyRepository) GetStudyBySlug(ctx context.Context, slug string, userId string) (types.Study, error)
GetStudyBySlug provides a mock function with given fields: ctx, slug, userId
Click to show internal directories.
Click to hide internal directories.