Documentation
¶
Overview ¶
Package example is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFooBar ¶
type MockFooBar struct {
// contains filtered or unexported fields
}
MockFooBar is a mock of FooBar interface.
func NewMockFooBar ¶
func NewMockFooBar(ctrl *gomock.Controller) *MockFooBar
NewMockFooBar creates a new mock instance.
func (*MockFooBar) EXPECT ¶
func (m *MockFooBar) EXPECT() *MockFooBarMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFooBar) WithMap ¶
func (m *MockFooBar) WithMap(arg1 map[string]int)
WithMap mocks base method.
func (*MockFooBar) WithSlice ¶
func (m *MockFooBar) WithSlice(arg1 []string)
WithSlice mocks base method.
func (*MockFooBar) WithString ¶
func (m *MockFooBar) WithString(arg1 string)
WithString mocks base method.
type MockFooBarMockRecorder ¶
type MockFooBarMockRecorder struct {
// contains filtered or unexported fields
}
MockFooBarMockRecorder is the mock recorder for MockFooBar.
func (*MockFooBarMockRecorder) WithMap ¶
func (mr *MockFooBarMockRecorder) WithMap(arg1 interface{}) *gomock.Call
WithMap indicates an expected call of WithMap.
func (*MockFooBarMockRecorder) WithSlice ¶
func (mr *MockFooBarMockRecorder) WithSlice(arg1 interface{}) *gomock.Call
WithSlice indicates an expected call of WithSlice.
func (*MockFooBarMockRecorder) WithString ¶
func (mr *MockFooBarMockRecorder) WithString(arg1 interface{}) *gomock.Call
WithString indicates an expected call of WithString.
Click to show internal directories.
Click to hide internal directories.