SYMBOL INDEX (775 symbols across 101 files) FILE: gomock/call.go type Call (line 25) | type Call struct method AnyTimes (line 83) | func (c *Call) AnyTimes() *Call { method MinTimes (line 90) | func (c *Call) MinTimes(n int) *Call { method MaxTimes (line 100) | func (c *Call) MaxTimes(n int) *Call { method DoAndReturn (line 112) | func (c *Call) DoAndReturn(f interface{}) *Call { method Do (line 153) | func (c *Call) Do(f interface{}) *Call { method Return (line 186) | func (c *Call) Return(rets ...interface{}) *Call { method Times (line 226) | func (c *Call) Times(n int) *Call { method SetArg (line 234) | func (c *Call) SetArg(n int, value interface{}) *Call { method isPreReq (line 281) | func (c *Call) isPreReq(other *Call) bool { method After (line 291) | func (c *Call) After(preReq *Call) *Call { method satisfied (line 306) | func (c *Call) satisfied() bool { method exhausted (line 311) | func (c *Call) exhausted() bool { method String (line 315) | func (c *Call) String() string { method matches (line 326) | func (c *Call) matches(args []interface{}) error { method dropPrereqs (line 426) | func (c *Call) dropPrereqs() (preReqs []*Call) { method call (line 432) | func (c *Call) call() []func([]interface{}) []interface{} { method addAction (line 461) | func (c *Call) addAction(action func([]interface{}) []interface{}) { function newCall (line 49) | func newCall(t TestHelper, receiver interface{}, method string, methodTy... function InOrder (line 438) | func InOrder(calls ...*Call) { function setSlice (line 444) | func setSlice(arg interface{}, v reflect.Value) { function setMap (line 451) | func setMap(arg interface{}, v reflect.Value) { function formatGottenArg (line 465) | func formatGottenArg(m Matcher, arg interface{}) string { FILE: gomock/call_test.go type foo (line 23) | type foo struct method String (line 25) | func (f foo) String() string { type a (line 29) | type a struct method Name (line 33) | func (testObj a) Name() string { type b (line 37) | type b struct method Foo (line 41) | func (testObj b) Foo() string { type mockTestReporter (line 45) | type mockTestReporter struct method Errorf (line 50) | func (o *mockTestReporter) Errorf(format string, args ...interface{}) { method Fatalf (line 54) | func (o *mockTestReporter) Fatalf(format string, args ...interface{}) { method Helper (line 58) | func (o *mockTestReporter) Helper() {} function TestCall_After (line 60) | func TestCall_After(t *testing.T) { function prepareDoCall (line 91) | func prepareDoCall(doFunc, callFunc interface{}) *Call { function prepareDoAndReturnCall (line 104) | func prepareDoAndReturnCall(doFunc, callFunc interface{}) *Call { type testCase (line 117) | type testCase struct function TestCall_Do (line 460) | func TestCall_Do(t *testing.T) { function TestCall_Do_NumArgValidation (line 484) | func TestCall_Do_NumArgValidation(t *testing.T) { function TestCall_DoAndReturn_NumArgValidation (line 540) | func TestCall_DoAndReturn_NumArgValidation(t *testing.T) { function TestCall_DoAndReturn (line 596) | func TestCall_DoAndReturn(t *testing.T) { FILE: gomock/callset.go type callSet (line 25) | type callSet struct method Add (line 43) | func (cs callSet) Add(call *Call) { method Remove (line 53) | func (cs callSet) Remove(call *Call) { method FindMatch (line 67) | func (cs callSet) FindMatch(receiver interface{}, method string, args ... method Failures (line 103) | func (cs callSet) Failures() []*Call { type callSetKey (line 33) | type callSetKey struct function newCallSet (line 38) | func newCallSet() *callSet { FILE: gomock/callset_test.go type receiverType (line 22) | type receiverType struct method Func (line 24) | func (receiverType) Func() {} function TestCallSetAdd (line 26) | func TestCallSetAdd(t *testing.T) { function TestCallSetRemove (line 45) | func TestCallSetRemove(t *testing.T) { function TestCallSetFindMatch (line 78) | func TestCallSetFindMatch(t *testing.T) { FILE: gomock/controller.go type TestReporter (line 27) | type TestReporter interface type TestHelper (line 34) | type TestHelper interface type cleanuper (line 44) | type cleanuper interface type Controller (line 72) | type Controller struct method RecordCall (line 151) | func (ctrl *Controller) RecordCall(receiver interface{}, method string... method RecordCallWithMethodType (line 165) | func (ctrl *Controller) RecordCallWithMethodType(receiver interface{},... method Call (line 178) | func (ctrl *Controller) Call(receiver interface{}, method string, args... method Finish (line 227) | func (ctrl *Controller) Finish() { method finish (line 234) | func (ctrl *Controller) finish(cleanup bool, panicErr interface{}) { function NewController (line 89) | func NewController(t TestReporter) *Controller { type cancelReporter (line 108) | type cancelReporter struct method Errorf (line 113) | func (r *cancelReporter) Errorf(format string, args ...interface{}) { method Fatalf (line 116) | func (r *cancelReporter) Fatalf(format string, args ...interface{}) { method Helper (line 121) | func (r *cancelReporter) Helper() { function WithContext (line 127) | func WithContext(ctx context.Context, t TestReporter) (*Controller, cont... type nopTestHelper (line 137) | type nopTestHelper struct method Errorf (line 141) | func (h *nopTestHelper) Errorf(format string, args ...interface{}) { method Fatalf (line 144) | func (h *nopTestHelper) Fatalf(format string, args ...interface{}) { method Helper (line 148) | func (h nopTestHelper) Helper() {} function callerInfo (line 269) | func callerInfo(skip int) string { function isCleanuper (line 277) | func isCleanuper(t TestReporter) (cleanuper, bool) { function unwrapTestReporter (line 284) | func unwrapTestReporter(t TestReporter) TestReporter { FILE: gomock/controller_test.go type ErrorReporter (line 27) | type ErrorReporter struct method reportLog (line 38) | func (e *ErrorReporter) reportLog() { method assertPass (line 44) | func (e *ErrorReporter) assertPass(msg string) { method assertFail (line 51) | func (e *ErrorReporter) assertFail(msg string) { method assertFatal (line 58) | func (e *ErrorReporter) assertFatal(fn func(), expectedErrMsgs ...stri... method recoverUnexpectedFatal (line 95) | func (e *ErrorReporter) recoverUnexpectedFatal() { method Log (line 110) | func (e *ErrorReporter) Log(args ...interface{}) { method Logf (line 114) | func (e *ErrorReporter) Logf(format string, args ...interface{}) { method Errorf (line 118) | func (e *ErrorReporter) Errorf(format string, args ...interface{}) { method Fatalf (line 123) | func (e *ErrorReporter) Fatalf(format string, args ...interface{}) { method Cleanup (line 847) | func (e *ErrorReporter) Cleanup(f func()) { function NewErrorReporter (line 34) | func NewErrorReporter(t *testing.T) *ErrorReporter { type HelperReporter (line 129) | type HelperReporter struct method Helper (line 134) | func (h *HelperReporter) Helper() { type Subject (line 139) | type Subject struct method FooMethod (line 141) | func (s *Subject) FooMethod(arg string) int { method BarMethod (line 145) | func (s *Subject) BarMethod(arg string) int { method VariadicMethod (line 149) | func (s *Subject) VariadicMethod(arg int, vararg ...string) {} method ActOnTestStructMethod (line 157) | func (s *Subject) ActOnTestStructMethod(arg TestStruct, arg1 int) int { method SetArgMethod (line 161) | func (s *Subject) SetArgMethod(sliceArg []byte, ptrArg *int, mapArg ma... method SetArgMethodInterface (line 162) | func (s *Subject) SetArgMethodInterface(sliceArg, ptrArg, mapArg inter... type TestStruct (line 152) | type TestStruct struct function assertEqual (line 164) | func assertEqual(t *testing.T, expected interface{}, actual interface{}) { function createFixtures (line 170) | func createFixtures(t *testing.T) (reporter *ErrorReporter, ctrl *gomock... function TestNoCalls (line 179) | func TestNoCalls(t *testing.T) { function TestNoRecordedCallsForAReceiver (line 185) | func TestNoRecordedCallsForAReceiver(t *testing.T) { function TestNoRecordedMatchingMethodNameForAReceiver (line 195) | func TestNoRecordedMatchingMethodNameForAReceiver(t *testing.T) { function TestExpectedMethodCall (line 210) | func TestExpectedMethodCall(t *testing.T) { function TestUnexpectedMethodCall (line 221) | func TestUnexpectedMethodCall(t *testing.T) { function TestRepeatedCall (line 232) | func TestRepeatedCall(t *testing.T) { function TestUnexpectedArgCount (line 248) | func TestUnexpectedArgCount(t *testing.T) { function TestExpectedMethodCall_CustomStruct (line 269) | func TestExpectedMethodCall_CustomStruct(t *testing.T) { function TestUnexpectedArgValue_FirstArg (line 280) | func TestUnexpectedArgValue_FirstArg(t *testing.T) { function TestUnexpectedArgValue_SecondArg (line 306) | func TestUnexpectedArgValue_SecondArg(t *testing.T) { function TestUnexpectedArgValue_WantFormatter (line 325) | func TestUnexpectedArgValue_WantFormatter(t *testing.T) { function TestUnexpectedArgValue_GotFormatter (line 352) | func TestUnexpectedArgValue_GotFormatter(t *testing.T) { function TestAnyTimes (line 382) | func TestAnyTimes(t *testing.T) { function TestMinTimes1 (line 394) | func TestMinTimes1(t *testing.T) { function TestMaxTimes1 (line 420) | func TestMaxTimes1(t *testing.T) { function TestMinMaxTimes (line 445) | func TestMinMaxTimes(t *testing.T) { function TestDo (line 493) | func TestDo(t *testing.T) { function TestDoAndReturn (line 521) | func TestDoAndReturn(t *testing.T) { function TestSetArgSlice (line 558) | func TestSetArgSlice(t *testing.T) { function TestSetArgMap (line 581) | func TestSetArgMap(t *testing.T) { function TestSetArgPtr (line 604) | func TestSetArgPtr(t *testing.T) { function TestReturn (line 626) | func TestReturn(t *testing.T) { function TestUnorderedCalls (line 646) | func TestUnorderedCalls(t *testing.T) { function commonTestOrderedCalls (line 670) | func commonTestOrderedCalls(t *testing.T) (reporter *ErrorReporter, ctrl... function TestOrderedCallsCorrect (line 685) | func TestOrderedCallsCorrect(t *testing.T) { function TestPanicOverridesExpectationChecks (line 697) | func TestPanicOverridesExpectationChecks(t *testing.T) { function TestSetArgWithBadType (line 708) | func TestSetArgWithBadType(t *testing.T) { function TestTimes0 (line 720) | func TestTimes0(t *testing.T) { function TestVariadicMatching (line 731) | func TestVariadicMatching(t *testing.T) { function TestVariadicNoMatch (line 742) | func TestVariadicNoMatch(t *testing.T) { function TestVariadicMatchingWithSlice (line 756) | func TestVariadicMatchingWithSlice(t *testing.T) { function TestVariadicArgumentsGotFormatter (line 780) | func TestVariadicArgumentsGotFormatter(t *testing.T) { function TestVariadicArgumentsGotFormatterTooManyArgsFailure (line 804) | func TestVariadicArgumentsGotFormatterTooManyArgsFailure(t *testing.T) { function TestNoHelper (line 829) | func TestNoHelper(t *testing.T) { function TestWithHelper (line 836) | func TestWithHelper(t *testing.T) { function TestMultipleDefers (line 852) | func TestMultipleDefers(t *testing.T) { function TestDeferNotNeededFail (line 863) | func TestDeferNotNeededFail(t *testing.T) { function TestDeferNotNeededPass (line 875) | func TestDeferNotNeededPass(t *testing.T) { function TestOrderedCallsInCorrect (line 887) | func TestOrderedCallsInCorrect(t *testing.T) { function TestOrderedCallsWithPreReqMaxUnbounded (line 909) | func TestOrderedCallsWithPreReqMaxUnbounded(t *testing.T) { function TestCallAfterLoopPanic (line 932) | func TestCallAfterLoopPanic(t *testing.T) { FILE: gomock/example_test.go type Foo (line 13) | type Foo interface function ExampleCall_DoAndReturn_latency (line 17) | func ExampleCall_DoAndReturn_latency() { function ExampleCall_DoAndReturn_captureArguments (line 34) | func ExampleCall_DoAndReturn_captureArguments() { FILE: gomock/internal/mock_gomock/mock_matcher.go type MockMatcher (line 14) | type MockMatcher struct method EXPECT (line 32) | func (m *MockMatcher) EXPECT() *MockMatcherMockRecorder { method Matches (line 37) | func (m *MockMatcher) Matches(arg0 interface{}) bool { method String (line 51) | func (m *MockMatcher) String() string { type MockMatcherMockRecorder (line 20) | type MockMatcherMockRecorder struct method Matches (line 45) | func (mr *MockMatcherMockRecorder) Matches(arg0 interface{}) *gomock.C... method String (line 59) | func (mr *MockMatcherMockRecorder) String() *gomock.Call { function NewMockMatcher (line 25) | func NewMockMatcher(ctrl *gomock.Controller) *MockMatcher { FILE: gomock/matchers.go type Matcher (line 25) | type Matcher interface function WantFormatter (line 36) | func WantFormatter(s fmt.Stringer, m Matcher) Matcher { type StringerFunc (line 53) | type StringerFunc method String (line 56) | func (f StringerFunc) String() string { type GotFormatter (line 63) | type GotFormatter interface type GotFormatterFunc (line 72) | type GotFormatterFunc method Got (line 75) | func (f GotFormatterFunc) Got(got interface{}) string { function GotFormatterAdapter (line 80) | func GotFormatterAdapter(s GotFormatter, m Matcher) Matcher { type anyMatcher (line 90) | type anyMatcher struct method Matches (line 92) | func (anyMatcher) Matches(interface{}) bool { method String (line 96) | func (anyMatcher) String() string { type eqMatcher (line 100) | type eqMatcher struct method Matches (line 104) | func (e eqMatcher) Matches(x interface{}) bool { method String (line 122) | func (e eqMatcher) String() string { type nilMatcher (line 126) | type nilMatcher struct method Matches (line 128) | func (nilMatcher) Matches(x interface{}) bool { method String (line 143) | func (nilMatcher) String() string { type notMatcher (line 147) | type notMatcher struct method Matches (line 151) | func (n notMatcher) Matches(x interface{}) bool { method String (line 155) | func (n notMatcher) String() string { type assignableToTypeOfMatcher (line 159) | type assignableToTypeOfMatcher struct method Matches (line 163) | func (m assignableToTypeOfMatcher) Matches(x interface{}) bool { method String (line 167) | func (m assignableToTypeOfMatcher) String() string { type allMatcher (line 171) | type allMatcher struct method Matches (line 175) | func (am allMatcher) Matches(x interface{}) bool { method String (line 184) | func (am allMatcher) String() string { type lenMatcher (line 192) | type lenMatcher struct method Matches (line 196) | func (m lenMatcher) Matches(x interface{}) bool { method String (line 206) | func (m lenMatcher) String() string { type inAnyOrderMatcher (line 210) | type inAnyOrderMatcher struct method Matches (line 214) | func (m inAnyOrderMatcher) Matches(x interface{}) bool { method prepareValue (line 260) | func (m inAnyOrderMatcher) prepareValue(x interface{}) (reflect.Value,... method String (line 270) | func (m inAnyOrderMatcher) String() string { function All (line 278) | func All(ms ...Matcher) Matcher { return allMatcher{ms} } function Any (line 281) | func Any() Matcher { return anyMatcher{} } function Eq (line 288) | func Eq(x interface{}) Matcher { return eqMatcher{x} } function Len (line 292) | func Len(i int) Matcher { function Nil (line 303) | func Nil() Matcher { return nilMatcher{} } function Not (line 310) | func Not(x interface{}) Matcher { function AssignableToTypeOf (line 327) | func AssignableToTypeOf(x interface{}) Matcher { function InAnyOrder (line 339) | func InAnyOrder(x interface{}) Matcher { FILE: gomock/matchers_test.go type A (line 29) | type A function TestMatchers (line 31) | func TestMatchers(t *testing.T) { function TestNotMatcher (line 71) | func TestNotMatcher(t *testing.T) { type Dog (line 89) | type Dog struct type ctxKey (line 93) | type ctxKey struct function TestAssignableToTypeOfMatcher (line 96) | func TestAssignableToTypeOfMatcher(t *testing.T) { function TestInAnyOrder (line 148) | func TestInAnyOrder(t *testing.T) { FILE: gomock/mock_test.go type MockFoo (line 14) | type MockFoo struct method EXPECT (line 32) | func (m *MockFoo) EXPECT() *MockFooMockRecorder { method Bar (line 37) | func (m *MockFoo) Bar(arg0 string) string { type MockFooMockRecorder (line 20) | type MockFooMockRecorder struct method Bar (line 45) | func (mr *MockFooMockRecorder) Bar(arg0 interface{}) *gomock.Call { function NewMockFoo (line 25) | func NewMockFoo(ctrl *gomock.Controller) *MockFoo { FILE: mockgen/generic_go118.go function getTypeSpecTypeParams (line 20) | func getTypeSpecTypeParams(ts *ast.TypeSpec) []*ast.Field { method parseGenericType (line 27) | func (p *fileParser) parseGenericType(pkg string, typ ast.Expr, tps map[... function getIdentTypeParams (line 67) | func getIdentTypeParams(decl interface{}) string { FILE: mockgen/generic_notgo118.go function getTypeSpecTypeParams (line 26) | func getTypeSpecTypeParams(ts *ast.TypeSpec) []*ast.Field { method parseGenericType (line 30) | func (p *fileParser) parseGenericType(pkg string, typ ast.Expr, tps map[... function getIdentTypeParams (line 34) | func getIdentTypeParams(decl interface{}) string { FILE: mockgen/internal/tests/aux_imports_embedded_interface/bugreport.go type Source (line 12) | type Source interface function CallForeignMethod (line 16) | func CallForeignMethod(s Source) { FILE: mockgen/internal/tests/aux_imports_embedded_interface/bugreport_mock.go type MockSource (line 15) | type MockSource struct method EXPECT (line 33) | func (m *MockSource) EXPECT() *MockSourceMockRecorder { method Error (line 38) | func (m *MockSource) Error() string { method Method (line 52) | func (m *MockSource) Method() faux.Return { type MockSourceMockRecorder (line 21) | type MockSourceMockRecorder struct method Error (line 46) | func (mr *MockSourceMockRecorder) Error() *gomock.Call { method Method (line 60) | func (mr *MockSourceMockRecorder) Method() *gomock.Call { function NewMockSource (line 26) | func NewMockSource(ctrl *gomock.Controller) *MockSource { FILE: mockgen/internal/tests/aux_imports_embedded_interface/bugreport_test.go function TestValidInterface (line 10) | func TestValidInterface(t *testing.T) { FILE: mockgen/internal/tests/aux_imports_embedded_interface/faux/faux.go type Foreign (line 3) | type Foreign interface type Embedded (line 9) | type Embedded interface type Return (line 11) | type Return interface FILE: mockgen/internal/tests/const_array_length/input.go constant C (line 7) | C = 2 type I (line 9) | type I interface FILE: mockgen/internal/tests/const_array_length/mock.go type MockI (line 14) | type MockI struct method EXPECT (line 32) | func (m *MockI) EXPECT() *MockIMockRecorder { method Bar (line 37) | func (m *MockI) Bar() [2]int { method Baz (line 51) | func (m *MockI) Baz() [127]int { method Corge (line 65) | func (m *MockI) Corge() [7]int { method Foo (line 79) | func (m *MockI) Foo() [2]int { method Quux (line 93) | func (m *MockI) Quux() [3]int { method Qux (line 107) | func (m *MockI) Qux() [3]int { type MockIMockRecorder (line 20) | type MockIMockRecorder struct method Bar (line 45) | func (mr *MockIMockRecorder) Bar() *gomock.Call { method Baz (line 59) | func (mr *MockIMockRecorder) Baz() *gomock.Call { method Corge (line 73) | func (mr *MockIMockRecorder) Corge() *gomock.Call { method Foo (line 87) | func (mr *MockIMockRecorder) Foo() *gomock.Call { method Quux (line 101) | func (mr *MockIMockRecorder) Quux() *gomock.Call { method Qux (line 115) | func (mr *MockIMockRecorder) Qux() *gomock.Call { function NewMockI (line 25) | func NewMockI(ctrl *gomock.Controller) *MockI { FILE: mockgen/internal/tests/copyright_file/input.go type Empty (line 5) | type Empty interface FILE: mockgen/internal/tests/copyright_file/mock.go type MockEmpty (line 19) | type MockEmpty struct method EXPECT (line 37) | func (m *MockEmpty) EXPECT() *MockEmptyMockRecorder { type MockEmptyMockRecorder (line 25) | type MockEmptyMockRecorder struct function NewMockEmpty (line 30) | func NewMockEmpty(ctrl *gomock.Controller) *MockEmpty { FILE: mockgen/internal/tests/custom_package_name/client/v1/client.go type Client (line 5) | type Client struct method Greet (line 7) | func (c *Client) Greet(in GreetInput) string { type GreetInput (line 11) | type GreetInput struct FILE: mockgen/internal/tests/custom_package_name/greeter/greeter.go type InputMaker (line 16) | type InputMaker interface type Greeter (line 20) | type Greeter struct method Greet (line 25) | func (g *Greeter) Greet() (string, error) { FILE: mockgen/internal/tests/custom_package_name/greeter/greeter_mock_test.go type MockInputMaker (line 15) | type MockInputMaker struct method EXPECT (line 33) | func (m *MockInputMaker) EXPECT() *MockInputMakerMockRecorder { method MakeInput (line 38) | func (m *MockInputMaker) MakeInput() client.GreetInput { type MockInputMakerMockRecorder (line 21) | type MockInputMakerMockRecorder struct method MakeInput (line 46) | func (mr *MockInputMakerMockRecorder) MakeInput() *gomock.Call { function NewMockInputMaker (line 26) | func NewMockInputMaker(ctrl *gomock.Controller) *MockInputMaker { FILE: mockgen/internal/tests/custom_package_name/greeter/greeter_test.go function TestGreeter_Greet (line 10) | func TestGreeter_Greet(t *testing.T) { FILE: mockgen/internal/tests/custom_package_name/validator/validate.go function Validate (line 3) | func Validate(s string) error { FILE: mockgen/internal/tests/dot_imports/input.go type WithDotImports (line 11) | type WithDotImports interface FILE: mockgen/internal/tests/dot_imports/mock.go type MockWithDotImports (line 17) | type MockWithDotImports struct method EXPECT (line 35) | func (m *MockWithDotImports) EXPECT() *MockWithDotImportsMockRecorder { method Method1 (line 40) | func (m *MockWithDotImports) Method1() Request { method Method2 (line 54) | func (m *MockWithDotImports) Method2() *bytes.Buffer { method Method3 (line 68) | func (m *MockWithDotImports) Method3() Context { type MockWithDotImportsMockRecorder (line 23) | type MockWithDotImportsMockRecorder struct method Method1 (line 48) | func (mr *MockWithDotImportsMockRecorder) Method1() *gomock.Call { method Method2 (line 62) | func (mr *MockWithDotImportsMockRecorder) Method2() *gomock.Call { method Method3 (line 76) | func (mr *MockWithDotImportsMockRecorder) Method3() *gomock.Call { function NewMockWithDotImports (line 28) | func NewMockWithDotImports(ctrl *gomock.Controller) *MockWithDotImports { FILE: mockgen/internal/tests/empty_interface/input.go type Empty (line 5) | type Empty interface FILE: mockgen/internal/tests/empty_interface/mock.go type MockEmpty (line 12) | type MockEmpty struct method EXPECT (line 30) | func (m *MockEmpty) EXPECT() *MockEmptyMockRecorder { type MockEmptyMockRecorder (line 18) | type MockEmptyMockRecorder struct function NewMockEmpty (line 23) | func NewMockEmpty(ctrl *gomock.Controller) *MockEmpty { FILE: mockgen/internal/tests/extra_import/import.go type Message (line 6) | type Message struct type Foo (line 10) | type Foo interface FILE: mockgen/internal/tests/extra_import/mock.go type MockFoo (line 14) | type MockFoo struct method EXPECT (line 32) | func (m *MockFoo) EXPECT() *MockFooMockRecorder { method Bar (line 37) | func (m *MockFoo) Bar(arg0 []string, arg1 chan<- Message) { type MockFooMockRecorder (line 20) | type MockFooMockRecorder struct method Bar (line 43) | func (mr *MockFooMockRecorder) Bar(arg0, arg1 interface{}) *gomock.Call { function NewMockFoo (line 25) | func NewMockFoo(ctrl *gomock.Controller) *MockFoo { FILE: mockgen/internal/tests/generated_identifier_conflict/bugreport.go type Example (line 5) | type Example interface FILE: mockgen/internal/tests/generated_identifier_conflict/bugreport_mock.go type MockExample (line 14) | type MockExample struct method EXPECT (line 32) | func (m *MockExample) EXPECT() *MockExampleMockRecorder { method Method (line 37) | func (m_2 *MockExample) Method(_m, _mr, m, mr int) { method VarargMethod (line 49) | func (m *MockExample) VarargMethod(_s, _x, a, ret int, varargs ...int) { type MockExampleMockRecorder (line 20) | type MockExampleMockRecorder struct method Method (line 43) | func (mr_2 *MockExampleMockRecorder) Method(_m, _mr, m, mr interface{}... method VarargMethod (line 59) | func (mr *MockExampleMockRecorder) VarargMethod(_s, _x, a, ret interfa... function NewMockExample (line 25) | func NewMockExample(ctrl *gomock.Controller) *MockExample { FILE: mockgen/internal/tests/generated_identifier_conflict/bugreport_test.go function TestExample_Method (line 8) | func TestExample_Method(t *testing.T) { function TestExample_VarargMethod (line 18) | func TestExample_VarargMethod(t *testing.T) { FILE: mockgen/internal/tests/generics/external.go type ExternalConstraint (line 10) | type ExternalConstraint interface FILE: mockgen/internal/tests/generics/generics.go type Bar (line 8) | type Bar interface type Foo (line 30) | type Foo struct type Baz (line 32) | type Baz struct type Iface (line 34) | type Iface interface type StructType (line 36) | type StructType struct type StructType2 (line 38) | type StructType2 struct type AliasType (line 40) | type AliasType FILE: mockgen/internal/tests/generics/other/other.go type One (line 3) | type One struct type Two (line 5) | type Two struct type Three (line 7) | type Three struct type Four (line 9) | type Four struct type Five (line 11) | type Five interface FILE: mockgen/internal/tests/generics/source/mock_external_test.go type MockExternalConstraint (line 17) | type MockExternalConstraint struct type MockExternalConstraintMockRecorder (line 23) | type MockExternalConstraintMockRecorder struct function NewMockExternalConstraint (line 28) | func NewMockExternalConstraint[I constraints.Integer, F constraints.Floa... method EXPECT (line 35) | func (m *MockExternalConstraint[I, F]) EXPECT() *MockExternalConstraintM... method Eight (line 40) | func (m *MockExternalConstraint[I, F]) Eight(arg0 F) other.Two[I, F] { method Eight (line 48) | func (mr *MockExternalConstraintMockRecorder[I, F]) Eight(arg0 interface... method Five (line 54) | func (m *MockExternalConstraint[I, F]) Five(arg0 I) generics.Baz[F] { method Five (line 62) | func (mr *MockExternalConstraintMockRecorder[I, F]) Five(arg0 interface{... method Four (line 68) | func (m *MockExternalConstraint[I, F]) Four(arg0 I) generics.Foo[I, F] { method Four (line 76) | func (mr *MockExternalConstraintMockRecorder[I, F]) Four(arg0 interface{... method Nine (line 82) | func (m *MockExternalConstraint[I, F]) Nine(arg0 generics.Iface[I]) { method Nine (line 88) | func (mr *MockExternalConstraintMockRecorder[I, F]) Nine(arg0 interface{... method One (line 94) | func (m *MockExternalConstraint[I, F]) One(arg0 string) string { method One (line 102) | func (mr *MockExternalConstraintMockRecorder[I, F]) One(arg0 interface{}... method Seven (line 108) | func (m *MockExternalConstraint[I, F]) Seven(arg0 I) other.One[I] { method Seven (line 116) | func (mr *MockExternalConstraintMockRecorder[I, F]) Seven(arg0 interface... method Six (line 122) | func (m *MockExternalConstraint[I, F]) Six(arg0 I) *generics.Baz[F] { method Six (line 130) | func (mr *MockExternalConstraintMockRecorder[I, F]) Six(arg0 interface{}... method Ten (line 136) | func (m *MockExternalConstraint[I, F]) Ten(arg0 *I) { method Ten (line 142) | func (mr *MockExternalConstraintMockRecorder[I, F]) Ten(arg0 interface{}... method Three (line 148) | func (m *MockExternalConstraint[I, F]) Three(arg0 I) F { method Three (line 156) | func (mr *MockExternalConstraintMockRecorder[I, F]) Three(arg0 interface... method Two (line 162) | func (m *MockExternalConstraint[I, F]) Two(arg0 I) string { method Two (line 170) | func (mr *MockExternalConstraintMockRecorder[I, F]) Two(arg0 interface{}... FILE: mockgen/internal/tests/generics/source/mock_generics_test.go type MockBar (line 16) | type MockBar struct type MockBarMockRecorder (line 22) | type MockBarMockRecorder struct function NewMockBar (line 27) | func NewMockBar[T any, R any](ctrl *gomock.Controller) *MockBar[T, R] { method EXPECT (line 34) | func (m *MockBar[T, R]) EXPECT() *MockBarMockRecorder[T, R] { method Eight (line 39) | func (m *MockBar[T, R]) Eight(arg0 T) other.Two[T, R] { method Eight (line 47) | func (mr *MockBarMockRecorder[T, R]) Eight(arg0 interface{}) *gomock.Call { method Eighteen (line 53) | func (m *MockBar[T, R]) Eighteen() (generics.Iface[*other.Five], error) { method Eighteen (line 62) | func (mr *MockBarMockRecorder[T, R]) Eighteen() *gomock.Call { method Eleven (line 68) | func (m *MockBar[T, R]) Eleven() (*other.One[T], error) { method Eleven (line 77) | func (mr *MockBarMockRecorder[T, R]) Eleven() *gomock.Call { method Fifteen (line 83) | func (m *MockBar[T, R]) Fifteen() (generics.Iface[generics.StructType], ... method Fifteen (line 92) | func (mr *MockBarMockRecorder[T, R]) Fifteen() *gomock.Call { method Five (line 98) | func (m *MockBar[T, R]) Five(arg0 T) generics.Baz[T] { method Five (line 106) | func (mr *MockBarMockRecorder[T, R]) Five(arg0 interface{}) *gomock.Call { method Four (line 112) | func (m *MockBar[T, R]) Four(arg0 T) generics.Foo[T, R] { method Four (line 120) | func (mr *MockBarMockRecorder[T, R]) Four(arg0 interface{}) *gomock.Call { method Fourteen (line 126) | func (m *MockBar[T, R]) Fourteen() (*generics.Foo[generics.StructType, g... method Fourteen (line 135) | func (mr *MockBarMockRecorder[T, R]) Fourteen() *gomock.Call { method Nine (line 141) | func (m *MockBar[T, R]) Nine(arg0 generics.Iface[T]) { method Nine (line 147) | func (mr *MockBarMockRecorder[T, R]) Nine(arg0 interface{}) *gomock.Call { method Nineteen (line 153) | func (m *MockBar[T, R]) Nineteen() generics.AliasType { method Nineteen (line 161) | func (mr *MockBarMockRecorder[T, R]) Nineteen() *gomock.Call { method One (line 167) | func (m *MockBar[T, R]) One(arg0 string) string { method One (line 175) | func (mr *MockBarMockRecorder[T, R]) One(arg0 interface{}) *gomock.Call { method Seven (line 181) | func (m *MockBar[T, R]) Seven(arg0 T) other.One[T] { method Seven (line 189) | func (mr *MockBarMockRecorder[T, R]) Seven(arg0 interface{}) *gomock.Call { method Seventeen (line 195) | func (m *MockBar[T, R]) Seventeen() (*generics.Foo[other.Three, other.Fo... method Seventeen (line 204) | func (mr *MockBarMockRecorder[T, R]) Seventeen() *gomock.Call { method Six (line 210) | func (m *MockBar[T, R]) Six(arg0 T) *generics.Baz[T] { method Six (line 218) | func (mr *MockBarMockRecorder[T, R]) Six(arg0 interface{}) *gomock.Call { method Sixteen (line 224) | func (m *MockBar[T, R]) Sixteen() (generics.Baz[other.Three], error) { method Sixteen (line 233) | func (mr *MockBarMockRecorder[T, R]) Sixteen() *gomock.Call { method Ten (line 239) | func (m *MockBar[T, R]) Ten(arg0 *T) { method Ten (line 245) | func (mr *MockBarMockRecorder[T, R]) Ten(arg0 interface{}) *gomock.Call { method Thirteen (line 251) | func (m *MockBar[T, R]) Thirteen() (generics.Baz[generics.StructType], e... method Thirteen (line 260) | func (mr *MockBarMockRecorder[T, R]) Thirteen() *gomock.Call { method Three (line 266) | func (m *MockBar[T, R]) Three(arg0 T) R { method Three (line 274) | func (mr *MockBarMockRecorder[T, R]) Three(arg0 interface{}) *gomock.Call { method Twelve (line 280) | func (m *MockBar[T, R]) Twelve() (*other.Two[T, R], error) { method Twelve (line 289) | func (mr *MockBarMockRecorder[T, R]) Twelve() *gomock.Call { method Two (line 295) | func (m *MockBar[T, R]) Two(arg0 T) string { method Two (line 303) | func (mr *MockBarMockRecorder[T, R]) Two(arg0 interface{}) *gomock.Call { type MockIface (line 309) | type MockIface struct type MockIfaceMockRecorder (line 315) | type MockIfaceMockRecorder struct function NewMockIface (line 320) | func NewMockIface[T any](ctrl *gomock.Controller) *MockIface[T] { method EXPECT (line 327) | func (m *MockIface[T]) EXPECT() *MockIfaceMockRecorder[T] { FILE: mockgen/internal/tests/import_embedded_interface/bugreport.go type Source (line 27) | type Source interface function CallForeignMethod (line 34) | func CallForeignMethod(s Source) { FILE: mockgen/internal/tests/import_embedded_interface/bugreport_mock.go type MockSource (line 16) | type MockSource struct method EXPECT (line 34) | func (m *MockSource) EXPECT() *MockSourceMockRecorder { method Bar (line 39) | func (m *MockSource) Bar() Baz { method Error (line 53) | func (m *MockSource) Error() string { method Ersatz (line 67) | func (m *MockSource) Ersatz() ersatz.Return { method OtherErsatz (line 81) | func (m *MockSource) OtherErsatz() ersatz0.Return { type MockSourceMockRecorder (line 22) | type MockSourceMockRecorder struct method Bar (line 47) | func (mr *MockSourceMockRecorder) Bar() *gomock.Call { method Error (line 61) | func (mr *MockSourceMockRecorder) Error() *gomock.Call { method Ersatz (line 75) | func (mr *MockSourceMockRecorder) Ersatz() *gomock.Call { method OtherErsatz (line 89) | func (mr *MockSourceMockRecorder) OtherErsatz() *gomock.Call { function NewMockSource (line 27) | func NewMockSource(ctrl *gomock.Controller) *MockSource { FILE: mockgen/internal/tests/import_embedded_interface/bugreport_test.go function TestValidInterface (line 23) | func TestValidInterface(t *testing.T) { FILE: mockgen/internal/tests/import_embedded_interface/ersatz/ersatz.go type Embedded (line 16) | type Embedded interface type Return (line 20) | type Return interface FILE: mockgen/internal/tests/import_embedded_interface/faux/conflict.go function Conflict1 (line 18) | func Conflict1() { FILE: mockgen/internal/tests/import_embedded_interface/faux/faux.go type Foreign (line 22) | type Foreign interface function Conflict0 (line 26) | func Conflict0() { FILE: mockgen/internal/tests/import_embedded_interface/foo.go type Foo (line 3) | type Foo interface type Baz (line 6) | type Baz interface FILE: mockgen/internal/tests/import_embedded_interface/net.go type Net (line 20) | type Net interface function CallResponseWriterMethods (line 24) | func CallResponseWriterMethods(n Net) { FILE: mockgen/internal/tests/import_embedded_interface/net_mock.go type MockNet (line 15) | type MockNet struct method EXPECT (line 33) | func (m *MockNet) EXPECT() *MockNetMockRecorder { method Header (line 38) | func (m *MockNet) Header() http.Header { method Write (line 52) | func (m *MockNet) Write(arg0 []byte) (int, error) { method WriteHeader (line 67) | func (m *MockNet) WriteHeader(statusCode int) { type MockNetMockRecorder (line 21) | type MockNetMockRecorder struct method Header (line 46) | func (mr *MockNetMockRecorder) Header() *gomock.Call { method Write (line 61) | func (mr *MockNetMockRecorder) Write(arg0 interface{}) *gomock.Call { method WriteHeader (line 73) | func (mr *MockNetMockRecorder) WriteHeader(statusCode interface{}) *go... function NewMockNet (line 26) | func NewMockNet(ctrl *gomock.Controller) *MockNet { FILE: mockgen/internal/tests/import_embedded_interface/net_test.go function TestValidNetInterface (line 23) | func TestValidNetInterface(t *testing.T) { FILE: mockgen/internal/tests/import_embedded_interface/other/ersatz/ersatz.go type Embedded (line 16) | type Embedded interface type Return (line 20) | type Return interface FILE: mockgen/internal/tests/import_embedded_interface/other/log/log.go function Foo (line 16) | func Foo() {} FILE: mockgen/internal/tests/import_source/definition/source.go type X (line 6) | type X struct type S (line 8) | type S interface FILE: mockgen/internal/tests/import_source/definition/source_mock.go type MockS (line 14) | type MockS struct method EXPECT (line 32) | func (m *MockS) EXPECT() *MockSMockRecorder { method F (line 37) | func (m *MockS) F(arg0 X) { type MockSMockRecorder (line 20) | type MockSMockRecorder struct method F (line 43) | func (mr *MockSMockRecorder) F(arg0 interface{}) *gomock.Call { function NewMockS (line 25) | func NewMockS(ctrl *gomock.Controller) *MockS { FILE: mockgen/internal/tests/import_source/source_mock.go type MockS (line 15) | type MockS struct method EXPECT (line 33) | func (m *MockS) EXPECT() *MockSMockRecorder { method F (line 38) | func (m *MockS) F(arg0 source.X) { type MockSMockRecorder (line 21) | type MockSMockRecorder struct method F (line 44) | func (mr *MockSMockRecorder) F(arg0 interface{}) *gomock.Call { function NewMockS (line 26) | func NewMockS(ctrl *gomock.Controller) *MockS { FILE: mockgen/internal/tests/internal_pkg/subdir/internal/pkg/input.go type Arg (line 3) | type Arg interface type Intf (line 7) | type Intf interface FILE: mockgen/internal/tests/internal_pkg/subdir/internal/pkg/reflect_output/mock.go type MockIntf (line 15) | type MockIntf struct method EXPECT (line 33) | func (m *MockIntf) EXPECT() *MockIntfMockRecorder { method F (line 38) | func (m *MockIntf) F() pkg.Arg { type MockIntfMockRecorder (line 21) | type MockIntfMockRecorder struct method F (line 46) | func (mr *MockIntfMockRecorder) F() *gomock.Call { function NewMockIntf (line 26) | func NewMockIntf(ctrl *gomock.Controller) *MockIntf { FILE: mockgen/internal/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go type MockArg (line 15) | type MockArg struct method EXPECT (line 33) | func (m *MockArg) EXPECT() *MockArgMockRecorder { method Foo (line 38) | func (m *MockArg) Foo() int { type MockArgMockRecorder (line 21) | type MockArgMockRecorder struct method Foo (line 46) | func (mr *MockArgMockRecorder) Foo() *gomock.Call { function NewMockArg (line 26) | func NewMockArg(ctrl *gomock.Controller) *MockArg { type MockIntf (line 52) | type MockIntf struct method EXPECT (line 70) | func (m *MockIntf) EXPECT() *MockIntfMockRecorder { method F (line 75) | func (m *MockIntf) F() pkg.Arg { type MockIntfMockRecorder (line 58) | type MockIntfMockRecorder struct method F (line 83) | func (mr *MockIntfMockRecorder) F() *gomock.Call { function NewMockIntf (line 63) | func NewMockIntf(ctrl *gomock.Controller) *MockIntf { FILE: mockgen/internal/tests/missing_import/output/source_mock.go type MockBar (line 15) | type MockBar struct method EXPECT (line 33) | func (m *MockBar) EXPECT() *MockBarMockRecorder { method Baz (line 38) | func (m *MockBar) Baz(arg0 source.Foo) { type MockBarMockRecorder (line 21) | type MockBarMockRecorder struct method Baz (line 44) | func (mr *MockBarMockRecorder) Baz(arg0 interface{}) *gomock.Call { function NewMockBar (line 26) | func NewMockBar(ctrl *gomock.Controller) *MockBar { FILE: mockgen/internal/tests/missing_import/source/source.go type Foo (line 6) | type Foo struct type Bar (line 8) | type Bar interface FILE: mockgen/internal/tests/mock_in_test_package/mock_test.go type MockFinder (line 15) | type MockFinder struct method EXPECT (line 33) | func (m *MockFinder) EXPECT() *MockFinderMockRecorder { method Add (line 38) | func (m *MockFinder) Add(u users.User) { method FindUser (line 50) | func (m *MockFinder) FindUser(name string) users.User { type MockFinderMockRecorder (line 21) | type MockFinderMockRecorder struct method Add (line 44) | func (mr *MockFinderMockRecorder) Add(u interface{}) *gomock.Call { method FindUser (line 58) | func (mr *MockFinderMockRecorder) FindUser(name interface{}) *gomock.C... function NewMockFinder (line 26) | func NewMockFinder(ctrl *gomock.Controller) *MockFinder { FILE: mockgen/internal/tests/mock_in_test_package/user.go type User (line 5) | type User struct type Finder (line 9) | type Finder interface FILE: mockgen/internal/tests/overlapping_methods/interfaces.go type ReadCloser (line 3) | type ReadCloser interface type WriteCloser (line 8) | type WriteCloser interface FILE: mockgen/internal/tests/overlapping_methods/mock.go type MockReadWriteCloser (line 14) | type MockReadWriteCloser struct method EXPECT (line 32) | func (m *MockReadWriteCloser) EXPECT() *MockReadWriteCloserMockRecorder { method Close (line 37) | func (m *MockReadWriteCloser) Close() error { method Read (line 51) | func (m *MockReadWriteCloser) Read(arg0 []byte) (int, error) { method Write (line 66) | func (m *MockReadWriteCloser) Write(arg0 []byte) (int, error) { type MockReadWriteCloserMockRecorder (line 20) | type MockReadWriteCloserMockRecorder struct method Close (line 45) | func (mr *MockReadWriteCloserMockRecorder) Close() *gomock.Call { method Read (line 60) | func (mr *MockReadWriteCloserMockRecorder) Read(arg0 interface{}) *gom... method Write (line 75) | func (mr *MockReadWriteCloserMockRecorder) Write(arg0 interface{}) *go... function NewMockReadWriteCloser (line 25) | func NewMockReadWriteCloser(ctrl *gomock.Controller) *MockReadWriteCloser { FILE: mockgen/internal/tests/overlapping_methods/overlap.go type ReadWriteCloser (line 5) | type ReadWriteCloser interface FILE: mockgen/internal/tests/overlapping_methods/overlap_test.go function TestValidInterface (line 11) | func TestValidInterface(t *testing.T) { FILE: mockgen/internal/tests/panicing_test/mock_test.go type MockFoo (line 14) | type MockFoo struct method EXPECT (line 32) | func (m *MockFoo) EXPECT() *MockFooMockRecorder { method Bar (line 37) | func (m *MockFoo) Bar() string { method Baz (line 51) | func (m *MockFoo) Baz() string { type MockFooMockRecorder (line 20) | type MockFooMockRecorder struct method Bar (line 45) | func (mr *MockFooMockRecorder) Bar() *gomock.Call { method Baz (line 59) | func (mr *MockFooMockRecorder) Baz() *gomock.Call { function NewMockFoo (line 25) | func NewMockFoo(ctrl *gomock.Controller) *MockFoo { FILE: mockgen/internal/tests/panicing_test/panic.go type Foo (line 19) | type Foo interface function Danger (line 24) | func Danger(f Foo) { FILE: mockgen/internal/tests/panicing_test/panic_test.go function TestDanger_Panics_Explicit (line 26) | func TestDanger_Panics_Explicit(t *testing.T) { function TestDanger_Panics_Implicit (line 35) | func TestDanger_Panics_Implicit(t *testing.T) { FILE: mockgen/internal/tests/parenthesized_parameter_type/input.go type Example (line 3) | type Example interface FILE: mockgen/internal/tests/parenthesized_parameter_type/mock.go type MockExample (line 13) | type MockExample struct method EXPECT (line 31) | func (m *MockExample) EXPECT() *MockExampleMockRecorder { method ParenthesizedParameterType (line 36) | func (m *MockExample) ParenthesizedParameterType(param *int) { type MockExampleMockRecorder (line 19) | type MockExampleMockRecorder struct method ParenthesizedParameterType (line 42) | func (mr *MockExampleMockRecorder) ParenthesizedParameterType(param in... function NewMockExample (line 24) | func NewMockExample(ctrl *gomock.Controller) *MockExample { FILE: mockgen/internal/tests/performance/big_interface/big_interface.go type Bar (line 3) | type Bar struct type BigInterface (line 5) | type BigInterface interface FILE: mockgen/internal/tests/self_package/mock.go type MockMethods (line 14) | type MockMethods struct method EXPECT (line 32) | func (m *MockMethods) EXPECT() *MockMethodsMockRecorder { method getInfo (line 37) | func (m *MockMethods) getInfo() Info { type MockMethodsMockRecorder (line 20) | type MockMethodsMockRecorder struct method getInfo (line 45) | func (mr *MockMethodsMockRecorder) getInfo() *gomock.Call { function NewMockMethods (line 25) | func NewMockMethods(ctrl *gomock.Controller) *MockMethods { FILE: mockgen/internal/tests/self_package/types.go type Info (line 5) | type Info struct type Methods (line 7) | type Methods interface FILE: mockgen/internal/tests/test_package/mock_test.go type MockFinder (line 14) | type MockFinder struct method EXPECT (line 32) | func (m *MockFinder) EXPECT() *MockFinderMockRecorder { method Add (line 37) | func (m *MockFinder) Add(u User) { method FindUser (line 49) | func (m *MockFinder) FindUser(name string) User { type MockFinderMockRecorder (line 20) | type MockFinderMockRecorder struct method Add (line 43) | func (mr *MockFinderMockRecorder) Add(u interface{}) *gomock.Call { method FindUser (line 57) | func (mr *MockFinderMockRecorder) FindUser(name interface{}) *gomock.C... function NewMockFinder (line 25) | func NewMockFinder(ctrl *gomock.Controller) *MockFinder { FILE: mockgen/internal/tests/test_package/user_test.go type User (line 5) | type User struct type Finder (line 9) | type Finder interface FILE: mockgen/internal/tests/unexported_method/bugreport.go type Example (line 8) | type Example interface function CallExample (line 13) | func CallExample(e Example) { FILE: mockgen/internal/tests/unexported_method/bugreport_mock.go type MockExample (line 14) | type MockExample struct method EXPECT (line 32) | func (m *MockExample) EXPECT() *MockExampleMockRecorder { method someMethod (line 37) | func (m *MockExample) someMethod(arg0 string) string { type MockExampleMockRecorder (line 20) | type MockExampleMockRecorder struct method someMethod (line 45) | func (mr *MockExampleMockRecorder) someMethod(arg0 interface{}) *gomoc... function NewMockExample (line 25) | func NewMockExample(ctrl *gomock.Controller) *MockExample { FILE: mockgen/internal/tests/unexported_method/bugreport_test.go function TestCallExample (line 9) | func TestCallExample(t *testing.T) { FILE: mockgen/internal/tests/vendor_dep/mock.go type MockVendorsDep (line 15) | type MockVendorsDep struct method EXPECT (line 33) | func (m *MockVendorsDep) EXPECT() *MockVendorsDepMockRecorder { method Foo (line 38) | func (m *MockVendorsDep) Foo() present.Elem { type MockVendorsDepMockRecorder (line 21) | type MockVendorsDepMockRecorder struct method Foo (line 46) | func (mr *MockVendorsDepMockRecorder) Foo() *gomock.Call { function NewMockVendorsDep (line 26) | func NewMockVendorsDep(ctrl *gomock.Controller) *MockVendorsDep { FILE: mockgen/internal/tests/vendor_dep/source_mock_package/mock.go type MockVendorsDep (line 15) | type MockVendorsDep struct method EXPECT (line 33) | func (m *MockVendorsDep) EXPECT() *MockVendorsDepMockRecorder { method Foo (line 38) | func (m *MockVendorsDep) Foo() present.Elem { type MockVendorsDepMockRecorder (line 21) | type MockVendorsDepMockRecorder struct method Foo (line 46) | func (mr *MockVendorsDepMockRecorder) Foo() *gomock.Call { function NewMockVendorsDep (line 26) | func NewMockVendorsDep(ctrl *gomock.Controller) *MockVendorsDep { FILE: mockgen/internal/tests/vendor_dep/vendor_dep.go type VendorsDep (line 5) | type VendorsDep interface FILE: mockgen/internal/tests/vendor_pkg/mock.go type MockElem (line 14) | type MockElem struct method EXPECT (line 32) | func (m *MockElem) EXPECT() *MockElemMockRecorder { method TemplateName (line 37) | func (m *MockElem) TemplateName() string { type MockElemMockRecorder (line 20) | type MockElemMockRecorder struct method TemplateName (line 45) | func (mr *MockElemMockRecorder) TemplateName() *gomock.Call { function NewMockElem (line 25) | func NewMockElem(ctrl *gomock.Controller) *MockElem { FILE: mockgen/mockgen.go constant gomockImportPath (line 47) | gomockImportPath = "github.com/golang/mock/gomock" function main (line 69) | func main() { function parseMockNames (line 187) | func parseMockNames(names string) map[string]string { function usage (line 199) | func usage() { constant usageText (line 204) | usageText = `mockgen has two modes of operation: source and reflect. type generator (line 221) | type generator struct method p (line 233) | func (g *generator) p(format string, args ...interface{}) { method in (line 237) | func (g *generator) in() { method out (line 241) | func (g *generator) out() { method Generate (line 270) | func (g *generator) Generate(pkg *model.Package, outputPkgName string,... method mockName (line 374) | func (g *generator) mockName(typeName string) string { method formattedTypeParams (line 386) | func (g *generator) formattedTypeParams(it *model.Interface, pkgOverri... method GenerateMockInterface (line 407) | func (g *generator) GenerateMockInterface(intf *model.Interface, outpu... method GenerateMockMethods (line 458) | func (g *generator) GenerateMockMethods(mockType string, intf *model.I... method GenerateMockMethod (line 483) | func (g *generator) GenerateMockMethod(mockType string, m *model.Metho... method GenerateMockRecorderMethod (line 548) | func (g *generator) GenerateMockRecorderMethod(mockType string, m *mod... method getArgNames (line 602) | func (g *generator) getArgNames(m *model.Method) []string { method getArgTypes (line 621) | func (g *generator) getArgTypes(m *model.Method, pkgOverride string) [... method Output (line 654) | func (g *generator) Output() []byte { function sanitize (line 248) | func sanitize(s string) string { type byMethodName (line 452) | type byMethodName method Len (line 454) | func (b byMethodName) Len() int { return len(b) } method Swap (line 455) | func (b byMethodName) Swap(i, j int) { b[i], b[j] = b[j], b[i] } method Less (line 456) | func (b byMethodName) Less(i, j int) bool { return b[i].Name < b[j].Na... function makeArgString (line 468) | func makeArgString(argNames, argTypes []string) string { type identifierAllocator (line 632) | type identifierAllocator method allocateIdentifier (line 642) | func (o identifierAllocator) allocateIdentifier(want string) string { function newIdentifierAllocator (line 634) | func newIdentifierAllocator(taken []string) identifierAllocator { function createPackageMap (line 664) | func createPackageMap(importPaths []string) map[string]string { function printVersion (line 688) | func printVersion() { function parsePackageImport (line 701) | func parsePackageImport(srcDir string) (string, error) { FILE: mockgen/mockgen_test.go function TestMakeArgString (line 16) | func TestMakeArgString(t *testing.T) { function TestNewIdentifierAllocator (line 119) | func TestNewIdentifierAllocator(t *testing.T) { function allocatorContainsIdentifiers (line 136) | func allocatorContainsIdentifiers(a identifierAllocator, ids []string) b... function TestIdentifierAllocator_allocateIdentifier (line 151) | func TestIdentifierAllocator_allocateIdentifier(t *testing.T) { function TestGenerateMockInterface_Helper (line 191) | func TestGenerateMockInterface_Helper(t *testing.T) { function findMethod (line 264) | func findMethod(t *testing.T, identifier, methodName string, lines []str... function TestGetArgNames (line 277) | func TestGetArgNames(t *testing.T) { function Test_createPackageMap (line 343) | func Test_createPackageMap(t *testing.T) { function TestParsePackageImport_FallbackGoPath (line 371) | func TestParsePackageImport_FallbackGoPath(t *testing.T) { function TestParsePackageImport_FallbackMultiGoPath (line 403) | func TestParsePackageImport_FallbackMultiGoPath(t *testing.T) { FILE: mockgen/model/model.go constant pkgPath (line 27) | pkgPath = "github.com/golang/mock/mockgen/model" type Package (line 30) | type Package struct method Print (line 38) | func (pkg *Package) Print(w io.Writer) { method Imports (line 46) | func (pkg *Package) Imports() map[string]bool { type Interface (line 58) | type Interface struct method Print (line 65) | func (intf *Interface) Print(w io.Writer) { method addImports (line 72) | func (intf *Interface) addImports(im map[string]bool) { method AddMethod (line 79) | func (intf *Interface) AddMethod(m *Method) { type Method (line 89) | type Method struct method Print (line 96) | func (m *Method) Print(w io.Writer) { method addImports (line 116) | func (m *Method) addImports(im map[string]bool) { type Parameter (line 129) | type Parameter struct method Print (line 135) | func (p *Parameter) Print(w io.Writer) { type Type (line 144) | type Type interface function init (line 149) | func init() { type ArrayType (line 168) | type ArrayType struct method String (line 173) | func (at *ArrayType) String(pm map[string]string, pkgOverride string) ... method addImports (line 181) | func (at *ArrayType) addImports(im map[string]bool) { at.Type.addImpor... type ChanType (line 184) | type ChanType struct method String (line 189) | func (ct *ChanType) String(pm map[string]string, pkgOverride string) s... method addImports (line 200) | func (ct *ChanType) addImports(im map[string]bool) { ct.Type.addImport... type ChanDir (line 203) | type ChanDir constant RecvDir (line 207) | RecvDir ChanDir = 1 constant SendDir (line 208) | SendDir ChanDir = 2 type FuncType (line 212) | type FuncType struct method String (line 217) | func (ft *FuncType) String(pm map[string]string, pkgOverride string) s... method addImports (line 238) | func (ft *FuncType) addImports(im map[string]bool) { type MapType (line 251) | type MapType struct method String (line 255) | func (mt *MapType) String(pm map[string]string, pkgOverride string) st... method addImports (line 259) | func (mt *MapType) addImports(im map[string]bool) { type NamedType (line 265) | type NamedType struct method String (line 271) | func (nt *NamedType) String(pm map[string]string, pkgOverride string) ... method addImports (line 283) | func (nt *NamedType) addImports(im map[string]bool) { type PointerType (line 291) | type PointerType struct method String (line 295) | func (pt *PointerType) String(pm map[string]string, pkgOverride string... method addImports (line 298) | func (pt *PointerType) addImports(im map[string]bool) { pt.Type.addImp... type PredeclaredType (line 301) | type PredeclaredType method String (line 303) | func (pt PredeclaredType) String(map[string]string, string) string { r... method addImports (line 304) | func (pt PredeclaredType) addImports(map[string]bool) {} type TypeParametersType (line 307) | type TypeParametersType struct method String (line 311) | func (tp *TypeParametersType) String(pm map[string]string, pkgOverride... method addImports (line 327) | func (tp *TypeParametersType) addImports(im map[string]bool) { function InterfaceFromInterfaceType (line 340) | func InterfaceFromInterfaceType(it reflect.Type) (*Interface, error) { function funcArgsFromType (line 366) | func funcArgsFromType(t reflect.Type) (in []*Parameter, variadic *Parame... function parameterFromType (line 396) | func parameterFromType(t reflect.Type) (*Parameter, error) { function typeFromType (line 408) | func typeFromType(t reflect.Type) (Type, error) { function impPath (line 507) | func impPath(imp string) string { FILE: mockgen/model/model_test.go function TestImpPath (line 8) | func TestImpPath(t *testing.T) { FILE: mockgen/parse.go function sourceMode (line 45) | func sourceMode(source string) (*model.Package, error) { type importedPackage (line 100) | type importedPackage interface type importedPkg (line 105) | type importedPkg struct method Path (line 110) | func (i importedPkg) Path() string { return i.path } method Parser (line 111) | func (i importedPkg) Parser() *fileParser { return i.parser } type duplicateImport (line 118) | type duplicateImport struct method Error (line 123) | func (d duplicateImport) Error() string { method Path (line 127) | func (d duplicateImport) Path() string { log.Fatal(d.Error()); ... method Parser (line 128) | func (d duplicateImport) Parser() *fileParser { log.Fatal(d.Error()); ... type interfaceCache (line 130) | type interfaceCache struct method Set (line 140) | func (i *interfaceCache) Set(pkg, name string, it *namedInterface) { method Get (line 147) | func (i *interfaceCache) Get(pkg, name string) *namedInterface { method GetASTIface (line 154) | func (i *interfaceCache) GetASTIface(pkg, name string) *ast.InterfaceT... function newInterfaceCache (line 134) | func newInterfaceCache() *interfaceCache { type fileParser (line 165) | type fileParser struct method errorf (line 174) | func (p *fileParser) errorf(pos token.Pos, format string, args ...inte... method parseAuxFiles (line 181) | func (p *fileParser) parseAuxFiles(auxFiles string) error { method addAuxInterfacesFromFile (line 203) | func (p *fileParser) addAuxInterfacesFromFile(pkg string, file *ast.Fi... method parseFile (line 211) | func (p *fileParser) parseFile(importPath string, file *ast.File) (*mo... method parsePackage (line 248) | func (p *fileParser) parsePackage(path string) (*fileParser, error) { method parseInterface (line 277) | func (p *fileParser) parseInterface(name, pkg string, it *namedInterfa... method parseFunc (line 393) | func (p *fileParser) parseFunc(pkg string, f *ast.FuncType, tps map[st... method parseFieldList (line 420) | func (p *fileParser) parseFieldList(pkg string, fields []*ast.Field, t... method parseType (line 454) | func (p *fileParser) parseType(pkg string, typ ast.Expr, tps map[strin... method parseArrayLength (line 558) | func (p *fileParser) parseArrayLength(expr ast.Expr) (string, error) { function importsOfFile (line 600) | func importsOfFile(file *ast.File) (normalImports map[string]importedPac... type namedInterface (line 659) | type namedInterface struct function iterInterfaces (line 666) | func iterInterfaces(file *ast.File) <-chan *namedInterface { function isVariadic (line 693) | func isVariadic(f *ast.FuncType) bool { function packageNameOfDir (line 703) | func packageNameOfDir(srcDir string) (string, error) { FILE: mockgen/parse_test.go function TestFileParser_ParseFile (line 9) | func TestFileParser_ParseFile(t *testing.T) { function TestFileParser_ParsePackage (line 40) | func TestFileParser_ParsePackage(t *testing.T) { function TestImportsOfFile (line 61) | func TestImportsOfFile(t *testing.T) { function checkGreeterImports (line 72) | func checkGreeterImports(t *testing.T, imports map[string]importedPackag... function Benchmark_parseFile (line 109) | func Benchmark_parseFile(b *testing.B) { function TestParseArrayWithConstLength (line 116) | func TestParseArrayWithConstLength(t *testing.T) { FILE: mockgen/reflect.go function reflectMode (line 45) | func reflectMode(importPath string, symbols []string) (*model.Package, e... function writeProgram (line 81) | func writeProgram(importPath string, symbols []string) ([]byte, error) { function run (line 94) | func run(program string) (*model.Package, error) { function runInDir (line 134) | func runInDir(program []byte, dir string) (*model.Package, error) { type reflectData (line 182) | type reflectData struct FILE: mockgen/version.go function printModuleVersion (line 23) | func printModuleVersion() { FILE: sample/concurrent/concurrent.go type Math (line 6) | type Math interface FILE: sample/concurrent/concurrent_test.go function call (line 13) | func call(ctx context.Context, m Math) (int, error) { function TestConcurrentFails (line 30) | func TestConcurrentFails(t *testing.T) { function TestConcurrentWorks (line 40) | func TestConcurrentWorks(t *testing.T) { FILE: sample/concurrent/mock/concurrent_mock.go type MockMath (line 14) | type MockMath struct method EXPECT (line 32) | func (m *MockMath) EXPECT() *MockMathMockRecorder { method Sum (line 37) | func (m *MockMath) Sum(arg0, arg1 int) int { type MockMathMockRecorder (line 20) | type MockMathMockRecorder struct method Sum (line 45) | func (mr *MockMathMockRecorder) Sum(arg0, arg1 interface{}) *gomock.Ca... function NewMockMath (line 25) | func NewMockMath(ctrl *gomock.Controller) *MockMath { FILE: sample/imp1/imp1.go type Imp1 (line 5) | type Imp1 struct type ImpT (line 7) | type ImpT type ForeignEmbedded (line 9) | type ForeignEmbedded interface FILE: sample/imp2/imp2.go type Imp2 (line 3) | type Imp2 struct FILE: sample/imp3/imp3.go type Imp3 (line 3) | type Imp3 struct FILE: sample/imp4/imp4.go type Imp4 (line 3) | type Imp4 struct FILE: sample/mock_user_test.go type MockIndex (line 25) | type MockIndex struct method EXPECT (line 43) | func (m *MockIndex) EXPECT() *MockIndexMockRecorder { method Anon (line 48) | func (m *MockIndex) Anon(arg0 string) { method Chan (line 60) | func (m *MockIndex) Chan(arg0 chan int, arg1 chan<- hash.Hash) { method ConcreteRet (line 72) | func (m *MockIndex) ConcreteRet() chan<- bool { method Ellip (line 86) | func (m *MockIndex) Ellip(arg0 string, arg1 ...interface{}) { method EllipOnly (line 103) | func (m *MockIndex) EllipOnly(arg0 ...string) { method ForeignFour (line 119) | func (m *MockIndex) ForeignFour(arg0 imp_four.Imp4) { method ForeignOne (line 131) | func (m *MockIndex) ForeignOne(arg0 imp1.Imp1) { method ForeignThree (line 143) | func (m *MockIndex) ForeignThree(arg0 imp3.Imp3) { method ForeignTwo (line 155) | func (m *MockIndex) ForeignTwo(arg0 imp2.Imp2) { method Func (line 167) | func (m *MockIndex) Func(arg0 func(http.Request) (int, bool)) { method Get (line 179) | func (m *MockIndex) Get(arg0 string) interface{} { method GetTwo (line 193) | func (m *MockIndex) GetTwo(arg0, arg1 string) (interface{}, interface{... method Map (line 208) | func (m *MockIndex) Map(arg0 map[int]hash.Hash) { method NillableRet (line 220) | func (m *MockIndex) NillableRet() error { method Other (line 234) | func (m *MockIndex) Other() hash.Hash { method Ptr (line 248) | func (m *MockIndex) Ptr(arg0 *int) { method Put (line 260) | func (m *MockIndex) Put(arg0 string, arg1 interface{}) { method Slice (line 272) | func (m *MockIndex) Slice(arg0 []int, arg1 []byte) [3]int { method Struct (line 286) | func (m *MockIndex) Struct(arg0 struct{}) { method StructChan (line 298) | func (m *MockIndex) StructChan(arg0 chan struct{}) { method Summary (line 310) | func (m *MockIndex) Summary(arg0 *bytes.Buffer, arg1 io.Writer) { method Templates (line 322) | func (m *MockIndex) Templates(arg0 template.CSS, arg1 template0.FuncMa... type MockIndexMockRecorder (line 31) | type MockIndexMockRecorder struct method Anon (line 54) | func (mr *MockIndexMockRecorder) Anon(arg0 interface{}) *gomock.Call { method Chan (line 66) | func (mr *MockIndexMockRecorder) Chan(arg0, arg1 interface{}) *gomock.... method ConcreteRet (line 80) | func (mr *MockIndexMockRecorder) ConcreteRet() *gomock.Call { method Ellip (line 96) | func (mr *MockIndexMockRecorder) Ellip(arg0 interface{}, arg1 ...inter... method EllipOnly (line 113) | func (mr *MockIndexMockRecorder) EllipOnly(arg0 ...interface{}) *gomoc... method ForeignFour (line 125) | func (mr *MockIndexMockRecorder) ForeignFour(arg0 interface{}) *gomock... method ForeignOne (line 137) | func (mr *MockIndexMockRecorder) ForeignOne(arg0 interface{}) *gomock.... method ForeignThree (line 149) | func (mr *MockIndexMockRecorder) ForeignThree(arg0 interface{}) *gomoc... method ForeignTwo (line 161) | func (mr *MockIndexMockRecorder) ForeignTwo(arg0 interface{}) *gomock.... method Func (line 173) | func (mr *MockIndexMockRecorder) Func(arg0 interface{}) *gomock.Call { method Get (line 187) | func (mr *MockIndexMockRecorder) Get(arg0 interface{}) *gomock.Call { method GetTwo (line 202) | func (mr *MockIndexMockRecorder) GetTwo(arg0, arg1 interface{}) *gomoc... method Map (line 214) | func (mr *MockIndexMockRecorder) Map(arg0 interface{}) *gomock.Call { method NillableRet (line 228) | func (mr *MockIndexMockRecorder) NillableRet() *gomock.Call { method Other (line 242) | func (mr *MockIndexMockRecorder) Other() *gomock.Call { method Ptr (line 254) | func (mr *MockIndexMockRecorder) Ptr(arg0 interface{}) *gomock.Call { method Put (line 266) | func (mr *MockIndexMockRecorder) Put(arg0, arg1 interface{}) *gomock.C... method Slice (line 280) | func (mr *MockIndexMockRecorder) Slice(arg0, arg1 interface{}) *gomock... method Struct (line 292) | func (mr *MockIndexMockRecorder) Struct(arg0 interface{}) *gomock.Call { method StructChan (line 304) | func (mr *MockIndexMockRecorder) StructChan(arg0 interface{}) *gomock.... method Summary (line 316) | func (mr *MockIndexMockRecorder) Summary(arg0, arg1 interface{}) *gomo... method Templates (line 328) | func (mr *MockIndexMockRecorder) Templates(arg0, arg1 interface{}) *go... function NewMockIndex (line 36) | func NewMockIndex(ctrl *gomock.Controller) *MockIndex { type MockEmbed (line 334) | type MockEmbed struct method EXPECT (line 352) | func (m *MockEmbed) EXPECT() *MockEmbedMockRecorder { method EmbeddedMethod (line 357) | func (m *MockEmbed) EmbeddedMethod() { method ForeignEmbeddedMethod (line 369) | func (m *MockEmbed) ForeignEmbeddedMethod() *bufio.Reader { method ImplicitPackage (line 383) | func (m *MockEmbed) ImplicitPackage(arg0 string, arg1 imp1.ImpT, arg2 ... method RegularMethod (line 395) | func (m *MockEmbed) RegularMethod() { type MockEmbedMockRecorder (line 340) | type MockEmbedMockRecorder struct method EmbeddedMethod (line 363) | func (mr *MockEmbedMockRecorder) EmbeddedMethod() *gomock.Call { method ForeignEmbeddedMethod (line 377) | func (mr *MockEmbedMockRecorder) ForeignEmbeddedMethod() *gomock.Call { method ImplicitPackage (line 389) | func (mr *MockEmbedMockRecorder) ImplicitPackage(arg0, arg1, arg2, arg... method RegularMethod (line 401) | func (mr *MockEmbedMockRecorder) RegularMethod() *gomock.Call { function NewMockEmbed (line 345) | func NewMockEmbed(ctrl *gomock.Controller) *MockEmbed { type MockEmbedded (line 407) | type MockEmbedded struct method EXPECT (line 425) | func (m *MockEmbedded) EXPECT() *MockEmbeddedMockRecorder { method EmbeddedMethod (line 430) | func (m *MockEmbedded) EmbeddedMethod() { type MockEmbeddedMockRecorder (line 413) | type MockEmbeddedMockRecorder struct method EmbeddedMethod (line 436) | func (mr *MockEmbeddedMockRecorder) EmbeddedMethod() *gomock.Call { function NewMockEmbedded (line 418) | func NewMockEmbedded(ctrl *gomock.Controller) *MockEmbedded { FILE: sample/user.go type Index (line 37) | type Index interface type Embed (line 86) | type Embed interface type Embedded (line 92) | type Embedded interface function Remember (line 101) | func Remember(index Index, keys []string, values []interface{}) { function GrabPointer (line 116) | func GrabPointer(index Index) int { FILE: sample/user_test.go function TestRemember (line 12) | func TestRemember(t *testing.T) { function TestVariadicFunction (line 65) | func TestVariadicFunction(t *testing.T) { function TestGrabPointer (line 123) | func TestGrabPointer(t *testing.T) { function TestEmbeddedInterface (line 136) | func TestEmbeddedInterface(t *testing.T) { function TestExpectTrueNil (line 151) | func TestExpectTrueNil(t *testing.T) { function TestDoAndReturnSignature (line 162) | func TestDoAndReturnSignature(t *testing.T) {