Documentation ¶
Overview ¶
Package add_generate_directive makes sure output places the go:generate command as a directive in the generated code.
Code generated by MockGen. DO NOT EDIT. Source: go.uber.org/mock/mockgen/internal/tests/add_generate_directive (interfaces: Foo)
Generated by this command:
mockgen -write_generate_directive -destination mock.go -package add_generate_directive . Foo
Package add_generate_directive is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFoo ¶
type MockFoo struct {
// contains filtered or unexported fields
}
MockFoo is a mock of Foo interface.
func NewMockFoo ¶
func NewMockFoo(ctrl *gomock.Controller) *MockFoo
NewMockFoo creates a new mock instance.
func (*MockFoo) EXPECT ¶
func (m *MockFoo) EXPECT() *MockFooMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFooMockRecorder ¶
type MockFooMockRecorder struct {
// contains filtered or unexported fields
}
MockFooMockRecorder is the mock recorder for MockFoo.
Click to show internal directories.
Click to hide internal directories.