clock

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockSingletonWithMock

func MockSingletonWithMock()

func NewClock

func NewClock() *clock

func NewMockedClock

func NewMockedClock() *mockedClock

func Now

func Now() time.Time

Types

type Clock

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

Jump to

Keyboard shortcuts

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