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 MockTodoRepository

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

MockTodoRepository is a mock of TodoRepository interface

func NewMockTodoRepository

func NewMockTodoRepository(ctrl *gomock.Controller) *MockTodoRepository

NewMockTodoRepository creates a new mock instance

func (*MockTodoRepository) Add

func (m *MockTodoRepository) Add(arg0 context.Context, arg1 *model.Todo) error

Add mocks base method

func (*MockTodoRepository) Delete

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

Delete mocks base method

func (*MockTodoRepository) EXPECT

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

func (*MockTodoRepository) Get

func (m *MockTodoRepository) Get(arg0 context.Context, arg1 string) (*model.Todo, error)

Get mocks base method

func (*MockTodoRepository) List

func (m *MockTodoRepository) List(arg0 context.Context) ([]*model.Todo, error)

List mocks base method

func (*MockTodoRepository) Update

func (m *MockTodoRepository) Update(arg0 context.Context, arg1 *model.Todo) error

Update mocks base method

type MockTodoRepositoryMockRecorder

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

MockTodoRepositoryMockRecorder is the mock recorder for MockTodoRepository

func (*MockTodoRepositoryMockRecorder) Add

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

Add indicates an expected call of Add

func (*MockTodoRepositoryMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockTodoRepositoryMockRecorder) Get

func (mr *MockTodoRepositoryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTodoRepositoryMockRecorder) List

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

List indicates an expected call of List

func (*MockTodoRepositoryMockRecorder) Update

func (mr *MockTodoRepositoryMockRecorder) Update(arg0, arg1 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