package bugreport
import "github.com/golang/mock/mockgen/internal/tests/unexported_method"
Package bugreport is a generated GoMock package.
Index ¶
- func CallExample(e Example)
- type Example
- type MockExample
- func NewMockExample(ctrl *gomock.Controller) *MockExample
- func (m *MockExample) EXPECT() *MockExampleMockRecorder
- type MockExampleMockRecorder
Functions ¶
func CallExample ¶
func CallExample(e Example)
CallExample is a simple function that uses the interface
Types ¶
type Example ¶
type Example interface {
// contains filtered or unexported methods
}
Example is an interface with a non exported method
type MockExample ¶
type MockExample struct {
// contains filtered or unexported fields
}
MockExample is a mock of Example interface
func NewMockExample ¶
func NewMockExample(ctrl *gomock.Controller) *MockExample
NewMockExample creates a new mock instance
func (*MockExample) EXPECT ¶
func (m *MockExample) EXPECT() *MockExampleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockExampleMockRecorder ¶
type MockExampleMockRecorder struct {
// contains filtered or unexported fields
}
MockExampleMockRecorder is the mock recorder for MockExample
Source Files ¶
bugreport.go bugreport_mock.go
- Version
- v1.4.2
- Published
- Mar 13, 2020
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.