automocks

package
v0.0.0-...-dd0ccd7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package automocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTodoService

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

MockTodoService is a mock of TodoService interface

func NewMockTodoService

func NewMockTodoService(ctrl *gomock.Controller) *MockTodoService

NewMockTodoService creates a new mock instance

func (*MockTodoService) Add

func (m *MockTodoService) Add(arg0 context.Context, arg1 *model.TodoReq) (*model.TodoRes, error)

Add mocks base method

func (*MockTodoService) Delete

func (m *MockTodoService) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method

func (*MockTodoService) EXPECT

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

func (*MockTodoService) List

func (m *MockTodoService) List(arg0 context.Context) ([]*model.TodoRes, error)

List mocks base method

func (*MockTodoService) Update

func (m *MockTodoService) Update(arg0 context.Context, arg1 string, arg2 *model.TodoReq) (*model.TodoRes, error)

Update mocks base method

type MockTodoServiceMockRecorder

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

MockTodoServiceMockRecorder is the mock recorder for MockTodoService

func (*MockTodoServiceMockRecorder) Add

func (mr *MockTodoServiceMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockTodoServiceMockRecorder) Delete

func (mr *MockTodoServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTodoServiceMockRecorder) List

func (mr *MockTodoServiceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockTodoServiceMockRecorder) Update

func (mr *MockTodoServiceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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