Back to godoc.org

Package mock_pkg

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 mock_pkg is a generated GoMock package.

Index

type MockArg

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

MockArg is a mock of Arg interface

func NewMockArg

func NewMockArg(ctrl *gomock.Controller) *MockArg

NewMockArg creates a new mock instance

func (*MockArg) EXPECT

func (m *MockArg) EXPECT() *MockArgMockRecorder

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

func (*MockArg) Foo

func (m *MockArg) Foo() int

Foo mocks base method

type MockArgMockRecorder

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

MockArgMockRecorder is the mock recorder for MockArg

func (*MockArgMockRecorder) Foo

func (mr *MockArgMockRecorder) Foo() *gomock.Call

Foo indicates an expected call of Foo

type MockIntf

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

MockIntf is a mock of Intf interface

func NewMockIntf

func NewMockIntf(ctrl *gomock.Controller) *MockIntf

NewMockIntf creates a new mock instance

func (*MockIntf) EXPECT

func (m *MockIntf) EXPECT() *MockIntfMockRecorder

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

func (*MockIntf) F

func (m *MockIntf) F() pkg.Arg

F mocks base method

type MockIntfMockRecorder

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

MockIntfMockRecorder is the mock recorder for MockIntf

func (*MockIntfMockRecorder) F

func (mr *MockIntfMockRecorder) F() *gomock.Call

F indicates an expected call of F

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