storagemocks

package
v0.0.0-...-d3ca574 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StudyRepository

type StudyRepository struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL