package const_length

import "github.com/golang/mock/mockgen/internal/tests/const_array_length"

Package const_length is a generated GoMock package.

Index

Constants

const C = 2

Types

type I

type I interface {
	Foo() [C]int
	Bar() [2]int
	Baz() [math.MaxInt8]int
}

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

func (m *MockI) Bar() [2]int

Bar mocks base method.

func (*MockI) Baz

func (m *MockI) Baz() [127]int

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

func (m *MockI) Foo() [2]int

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

input.go mock.go

Version
v1.6.0 (latest)
Published
Jun 11, 2021
Platform
linux/amd64
Imports
3 packages
Last checked
5 days ago

Tools for package owners.