Back to

Package source

Latest Go to latest

The latest major version is .

Published: Jul 28, 2020 | License: Apache-2.0 | Module:


go:generate mockgen -destination ../source_mock.go -source=source.go go:generate mockgen -package source -destination source_mock.go -source=source.go

Package source is a generated GoMock package.


type MockS

type MockS struct {
	// contains filtered or unexported fields

MockS is a mock of S interface

func NewMockS

func NewMockS(ctrl *gomock.Controller) *MockS

NewMockS creates a new mock instance

func (*MockS) EXPECT

func (m *MockS) EXPECT() *MockSMockRecorder

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

func (*MockS) F

func (m *MockS) F(arg0 X)

F mocks base method

type MockSMockRecorder

type MockSMockRecorder struct {
	// contains filtered or unexported fields

MockSMockRecorder is the mock recorder for MockS

func (*MockSMockRecorder) F

func (mr *MockSMockRecorder) F(arg0 interface{}) *gomock.Call

F indicates an expected call of F

type S

type S interface {

type X

type X struct{}

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