keeltime

package
v0.18.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 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