clock

package
v0.0.0-...-8aeab2f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clocker

type Clocker interface {
	Now() time.Time
}

type FixedClocker

type FixedClocker struct{}

func (FixedClocker) Now

func (fc FixedClocker) Now() time.Time

type RealClocker

type RealClocker struct{}

func (RealClocker) Now

func (r RealClocker) Now() time.Time

Jump to

Keyboard shortcuts

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