Back to godoc.org
github.com/golang/mock / mockgen / internal / tests / aux_imports_embedded_interface

Package bugreport

v1.4.4
Latest Go to latest

The latest major version is .

Published: Jul 28, 2020 | License: Apache-2.0 | Module: github.com/golang/mock

Overview

Package bugreport is a generated GoMock package.

Index

func CallForeignMethod

func CallForeignMethod(s Source)

type MockSource

type MockSource struct {
	// contains filtered or unexported fields
}

MockSource is a mock of Source interface

func NewMockSource

func NewMockSource(ctrl *gomock.Controller) *MockSource

NewMockSource creates a new mock instance

func (*MockSource) EXPECT

func (m *MockSource) EXPECT() *MockSourceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSource) Method

func (m *MockSource) Method() faux.Return

Method mocks base method

type MockSourceMockRecorder

type MockSourceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSourceMockRecorder is the mock recorder for MockSource

func (*MockSourceMockRecorder) Method

func (mr *MockSourceMockRecorder) Method() *gomock.Call

Method indicates an expected call of Method

type Source

type Source interface {
	faux.Foreign
}

Source is an interface w/ an embedded foreign interface

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier