Documentation ¶
Overview ¶
Package bugreport is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallExample ¶
func CallExample(e Example)
CallExample is a simple function that uses the interface
Types ¶
type Example ¶
type Example interface {
// contains filtered or unexported methods
}
Example is an interface with a non exported method
type MockExample ¶
type MockExample struct {
// contains filtered or unexported fields
}
MockExample is a mock of Example interface
func NewMockExample ¶
func NewMockExample(ctrl *gomock.Controller) *MockExample
NewMockExample creates a new mock instance
func (*MockExample) EXPECT ¶
func (m *MockExample) EXPECT() *MockExampleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockExampleMockRecorder ¶
type MockExampleMockRecorder struct {
// contains filtered or unexported fields
}
MockExampleMockRecorder is the mock recorder for MockExample
Click to show internal directories.
Click to hide internal directories.