package extra_import
import "github.com/golang/mock/mockgen/internal/tests/extra_import"
Package extra_import makes sure output does not import it. See #515.
Package extra_import is a generated GoMock package.
Index ¶
- type Foo
- type Message
- type MockFoo
- func NewMockFoo(ctrl *gomock.Controller) *MockFoo
- func (m *MockFoo) Bar(arg0 []string, arg1 chan<- Message)
- func (m *MockFoo) EXPECT() *MockFooMockRecorder
- type MockFooMockRecorder
Types ¶
type Foo ¶
type Message ¶
type Message struct { Text string }
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) Bar ¶
Bar mocks base method.
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.
func (*MockFooMockRecorder) Bar ¶
func (mr *MockFooMockRecorder) Bar(arg0, arg1 interface{}) *gomock.Call
Bar indicates an expected call of Bar.
Source Files ¶
- Version
- v1.6.0 (latest)
- Published
- Jun 11, 2021
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 5 days ago –
Tools for package owners.