keeltime

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Now                = time.Now
	NowStaticNSec      = int64(1609498800e9) // 2021-01-01 12:00:00
	NowIncrementalNSec = NowStaticNSec
)

Functions

func Incremental

func Incremental()

Incremental sets now to a incremental time provider

func ResetIncremental

func ResetIncremental()

ResetIncremental sets the incremental time to the static default

func Static

func Static()

Static sets now to a static time provider

Types

This section is empty.

Jump to

Keyboard shortcuts

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