time

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 3 Imported by: 0

Documentation

Overview

Package time is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNow

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

MockNow is a mock of Now interface.

func NewMockNow

func NewMockNow(ctrl *gomock.Controller) *MockNow

NewMockNow creates a new mock instance.

func (*MockNow) Do

func (m *MockNow) Do() time.Time

Do mocks base method.

func (*MockNow) EXPECT

func (m *MockNow) EXPECT() *MockNowMockRecorder

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

type MockNowMockRecorder

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

MockNowMockRecorder is the mock recorder for MockNow.

func (*MockNowMockRecorder) Do

func (mr *MockNowMockRecorder) Do() *gomock.Call

Do indicates an expected call of Do.

type Now

type Now interface {
	Do() time.Time
}

Now allows mocking time.Now.

Jump to

Keyboard shortcuts

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