automock

package
v0.0.0-...-0e0a2a2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package automock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGoodRepository

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

MockGoodRepository is a mock of GoodRepository interface.

func NewMockGoodRepository

func NewMockGoodRepository(ctrl *gomock.Controller) *MockGoodRepository

NewMockGoodRepository creates a new mock instance.

func (*MockGoodRepository) CreateGood

func (m *MockGoodRepository) CreateGood(arg0 context.Context, arg1 barter.Good) (*barter.Good, common.Error)

CreateGood mocks base method.

func (*MockGoodRepository) DeleteGoodByID

func (m *MockGoodRepository) DeleteGoodByID(arg0 context.Context, arg1 int) common.Error

DeleteGoodByID mocks base method.

func (*MockGoodRepository) EXPECT

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

func (*MockGoodRepository) GetGoodByID

func (m *MockGoodRepository) GetGoodByID(arg0 context.Context, arg1 int) (*barter.Good, common.Error)

GetGoodByID mocks base method.

func (*MockGoodRepository) ListGoods

func (m *MockGoodRepository) ListGoods(arg0 context.Context) ([]barter.Good, common.Error)

ListGoods mocks base method.

func (*MockGoodRepository) ListGoodsByOwner

func (m *MockGoodRepository) ListGoodsByOwner(arg0 context.Context, arg1 int) ([]barter.Good, common.Error)

ListGoodsByOwner mocks base method.

func (*MockGoodRepository) UpdateGood

func (m *MockGoodRepository) UpdateGood(arg0 context.Context, arg1 barter.Good) (*barter.Good, common.Error)

UpdateGood mocks base method.

func (*MockGoodRepository) UpdateGoods

func (m *MockGoodRepository) UpdateGoods(arg0 context.Context, arg1 []barter.Good) ([]barter.Good, common.Error)

UpdateGoods mocks base method.

type MockGoodRepositoryMockRecorder

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

MockGoodRepositoryMockRecorder is the mock recorder for MockGoodRepository.

func (*MockGoodRepositoryMockRecorder) CreateGood

func (mr *MockGoodRepositoryMockRecorder) CreateGood(arg0, arg1 interface{}) *gomock.Call

CreateGood indicates an expected call of CreateGood.

func (*MockGoodRepositoryMockRecorder) DeleteGoodByID

func (mr *MockGoodRepositoryMockRecorder) DeleteGoodByID(arg0, arg1 interface{}) *gomock.Call

DeleteGoodByID indicates an expected call of DeleteGoodByID.

func (*MockGoodRepositoryMockRecorder) GetGoodByID

func (mr *MockGoodRepositoryMockRecorder) GetGoodByID(arg0, arg1 interface{}) *gomock.Call

GetGoodByID indicates an expected call of GetGoodByID.

func (*MockGoodRepositoryMockRecorder) ListGoods

func (mr *MockGoodRepositoryMockRecorder) ListGoods(arg0 interface{}) *gomock.Call

ListGoods indicates an expected call of ListGoods.

func (*MockGoodRepositoryMockRecorder) ListGoodsByOwner

func (mr *MockGoodRepositoryMockRecorder) ListGoodsByOwner(arg0, arg1 interface{}) *gomock.Call

ListGoodsByOwner indicates an expected call of ListGoodsByOwner.

func (*MockGoodRepositoryMockRecorder) UpdateGood

func (mr *MockGoodRepositoryMockRecorder) UpdateGood(arg0, arg1 interface{}) *gomock.Call

UpdateGood indicates an expected call of UpdateGood.

func (*MockGoodRepositoryMockRecorder) UpdateGoods

func (mr *MockGoodRepositoryMockRecorder) UpdateGoods(arg0, arg1 interface{}) *gomock.Call

UpdateGoods indicates an expected call of UpdateGoods.

Jump to

Keyboard shortcuts

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