mock

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAddTaskService

type MockAddTaskService struct {
	// contains filtered or unexported fields
}

MockAddTaskService is a mock of AddTaskService interface.

func NewMockAddTaskService

func NewMockAddTaskService(ctrl *gomock.Controller) *MockAddTaskService

NewMockAddTaskService creates a new mock instance.

func (*MockAddTaskService) AddTask

func (m *MockAddTaskService) AddTask(ctx context.Context, title string) (*entity.Task, error)

AddTask mocks base method.

func (*MockAddTaskService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockAddTaskServiceMockRecorder

type MockAddTaskServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockAddTaskServiceMockRecorder is the mock recorder for MockAddTaskService.

func (*MockAddTaskServiceMockRecorder) AddTask

func (mr *MockAddTaskServiceMockRecorder) AddTask(ctx, title interface{}) *gomock.Call

AddTask indicates an expected call of AddTask.

type MockListTasksService

type MockListTasksService struct {
	// contains filtered or unexported fields
}

MockListTasksService is a mock of ListTasksService interface.

func NewMockListTasksService

func NewMockListTasksService(ctrl *gomock.Controller) *MockListTasksService

NewMockListTasksService creates a new mock instance.

func (*MockListTasksService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockListTasksService) ListTasks

func (m *MockListTasksService) ListTasks(ctx context.Context) (entity.Tasks, error)

ListTasks mocks base method.

type MockListTasksServiceMockRecorder

type MockListTasksServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockListTasksServiceMockRecorder is the mock recorder for MockListTasksService.

func (*MockListTasksServiceMockRecorder) ListTasks

func (mr *MockListTasksServiceMockRecorder) ListTasks(ctx interface{}) *gomock.Call

ListTasks indicates an expected call of ListTasks.

Jump to

Keyboard shortcuts

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