package mock_build_flags
import "go.uber.org/mock/mockgen/internal/tests/build_flags/mock2"
Package mock_build_flags is a generated GoMock package.
Index ¶
- type MockInterface
- func NewMockInterface(ctrl *gomock.Controller) *MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Foo()
- type MockInterfaceMockRecorder
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Foo ¶
func (m *MockInterface) Foo()
Foo mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Foo ¶
func (mr *MockInterfaceMockRecorder) Foo() *gomock.Call
Foo indicates an expected call of Foo.
Source Files ¶
interfaces_mock.go
- Version
- v0.5.2 (latest)
- Published
- Apr 28, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 week ago –
Tools for package owners.