mock_domain

package
v0.0.0-...-269e131 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFooRepository

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

MockFooRepository is a mock of FooRepository interface

func NewMockFooRepository

func NewMockFooRepository(ctrl *gomock.Controller) *MockFooRepository

NewMockFooRepository creates a new mock instance

func (*MockFooRepository) EXPECT

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

func (*MockFooRepository) Get

func (_m *MockFooRepository) Get(_param0 context.Context, _param1 int64) (*domain.Foo, error)

Get mocks base method

func (*MockFooRepository) Put

func (_m *MockFooRepository) Put(_param0 context.Context, _param1 *domain.Foo) error

Put mocks base method

type MockFooRepositoryMockRecorder

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

MockFooRepositoryMockRecorder is the mock recorder for MockFooRepository

func (*MockFooRepositoryMockRecorder) Get

func (_mr *MockFooRepositoryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockFooRepositoryMockRecorder) Put

func (_mr *MockFooRepositoryMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put

Jump to

Keyboard shortcuts

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