mock

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 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 MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) AddTask

func (m *MockService) AddTask(ctx context.Context, title string) (*model.Task, error)

AddTask mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetTaskList

func (m *MockService) GetTaskList(ctx context.Context) (model.TaskList, error)

GetTaskList mocks base method.

func (*MockService) HealthCheck

func (m *MockService) HealthCheck(ctx context.Context) error

HealthCheck mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) AddTask

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

AddTask indicates an expected call of AddTask.

func (*MockServiceMockRecorder) GetTaskList

func (mr *MockServiceMockRecorder) GetTaskList(ctx interface{}) *gomock.Call

GetTaskList indicates an expected call of GetTaskList.

func (*MockServiceMockRecorder) HealthCheck

func (mr *MockServiceMockRecorder) HealthCheck(ctx interface{}) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

Jump to

Keyboard shortcuts

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