mocks

package
v0.8.27 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSysClock

type FakeSysClock struct {
	mock.Mock
}

FakeSysClock is a fake clock implementation

func (*FakeSysClock) Now

func (c *FakeSysClock) Now() time.Time

Now is a no-op

func (*FakeSysClock) NowPointer

func (c *FakeSysClock) NowPointer() *time.Time

Now is a no-op

Jump to

Keyboard shortcuts

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