Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v1.62.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTaskFunc

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

MockTaskFunc is a mock of TaskFunc interface.

func NewMockTaskFunc

func NewMockTaskFunc(ctrl *gomock.Controller) *MockTaskFunc

NewMockTaskFunc creates a new mock instance.

func (*MockTaskFunc) Do

func (m *MockTaskFunc) Do(arg0 *errors.ErrorContext) (string, error)

Do mocks base method.

func (*MockTaskFunc) EXPECT

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

type MockTaskFuncMockRecorder

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

MockTaskFuncMockRecorder is the mock recorder for MockTaskFunc.

func (*MockTaskFuncMockRecorder) Do

func (mr *MockTaskFuncMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL