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

mock

package
v1.74.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 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 MockOps

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

MockOps is a mock of Ops interface.

func NewMockOps

func NewMockOps(ctrl *gomock.Controller) *MockOps

NewMockOps creates a new mock instance.

func (*MockOps) EXPECT

func (m *MockOps) EXPECT() *MockOpsMockRecorder

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

func (*MockOps) Now

func (m *MockOps) Now() time.Time

Now mocks base method.

type MockOpsMockRecorder

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

MockOpsMockRecorder is the mock recorder for MockOps.

func (*MockOpsMockRecorder) Now

func (mr *MockOpsMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now.

Jump to

Keyboard shortcuts

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