Documentation ¶
Index ¶
- func Mock(service *Service, funcs ...MockFunc)
- type MockFunc
- type Service
- func (_m *Service) Clear(ctx context.Context)
- func (_m *Service) Create(ctx context.Context, todo *todos.Todo) error
- func (_m *Service) Delete(ctx context.Context, todo *todos.Todo)
- func (_m *Service) Search(ctx context.Context, _a1 *[]todos.Todo, filter todos.Filter) error
- func (_m *Service) Update(ctx context.Context, todo *todos.Todo, changes rel.Changeset) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockFunc ¶
type MockFunc func(service *Service)
MockFunc function.
func MockSearch ¶
MockSearch util.
type Service ¶
Service is an autogenerated mock type for the Service type
Click to show internal directories.
Click to hide internal directories.