package const_length
import "github.com/golang/mock/mockgen/internal/tests/const_array_length"
Package const_length is a generated GoMock package.
Index ¶
- Constants
- type I
- type MockI
- func NewMockI(ctrl *gomock.Controller) *MockI
- func (m *MockI) Bar() [2]int
- func (m *MockI) Baz() [127]int
- func (m *MockI) EXPECT() *MockIMockRecorder
- func (m *MockI) Foo() [2]int
- type MockIMockRecorder
Constants ¶
const C = 2
Types ¶
type I ¶
type MockI ¶
type MockI struct {
// contains filtered or unexported fields
}
MockI is a mock of I interface.
func NewMockI ¶
func NewMockI(ctrl *gomock.Controller) *MockI
NewMockI creates a new mock instance.
func (*MockI) Bar ¶
Bar mocks base method.
func (*MockI) Baz ¶
Baz mocks base method.
func (*MockI) EXPECT ¶
func (m *MockI) EXPECT() *MockIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockI) Foo ¶
Foo mocks base method.
type MockIMockRecorder ¶
type MockIMockRecorder struct {
// contains filtered or unexported fields
}
MockIMockRecorder is the mock recorder for MockI.
func (*MockIMockRecorder) Bar ¶
func (mr *MockIMockRecorder) Bar() *gomock.Call
Bar indicates an expected call of Bar.
func (*MockIMockRecorder) Baz ¶
func (mr *MockIMockRecorder) Baz() *gomock.Call
Baz indicates an expected call of Baz.
func (*MockIMockRecorder) Foo ¶
func (mr *MockIMockRecorder) Foo() *gomock.Call
Foo indicates an expected call of Foo.
Source Files ¶
- Version
- v1.6.0 (latest)
- Published
- Jun 11, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 5 days ago –
Tools for package owners.