time

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT 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 ITime

type ITime interface {
	Now() time.Time
}
var Time ITime

type MockITime

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

MockITime is a mock of ITime interface.

func NewMockITime

func NewMockITime(ctrl *gomock.Controller) *MockITime

NewMockITime creates a new mock instance.

func (*MockITime) EXPECT

func (m *MockITime) EXPECT() *MockITimeMockRecorder

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

func (*MockITime) Now

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

Now mocks base method.

type MockITimeMockRecorder

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

MockITimeMockRecorder is the mock recorder for MockITime.

func (*MockITimeMockRecorder) Now

func (mr *MockITimeMockRecorder) 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