mocks

package
v0.0.0-...-c112b4b Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) TaskRepository

func (_m *Repository) TaskRepository() repository.TaskRepository

TaskRepository provides a mock function with given fields:

type TaskRepository

type TaskRepository struct {
	mock.Mock
}

TaskRepository is an autogenerated mock type for the TaskRepository type

func (*TaskRepository) CreateTask

func (_m *TaskRepository) CreateTask(ctx context.Context, args repository.CreateTaskArgs) (*model.Task, error)

CreateTask provides a mock function with given fields: ctx, args

func (*TaskRepository) DeleteTask

func (_m *TaskRepository) DeleteTask(ctx context.Context, id uint64) error

DeleteTask provides a mock function with given fields: ctx, id

func (*TaskRepository) GetTasks

func (_m *TaskRepository) GetTasks(ctx context.Context) ([]*model.Task, error)

GetTasks provides a mock function with given fields: ctx

func (*TaskRepository) MarkTaskAsCompleted

func (_m *TaskRepository) MarkTaskAsCompleted(ctx context.Context, id uint64) error

MarkTaskAsCompleted provides a mock function with given fields: ctx, id

Jump to

Keyboard shortcuts

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