Documentation
¶
Overview ¶
Package time provides helper functionality built on top of the standard library time package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Set to a different function for testing, e.g. one that always returns the same fixed time. Defaults to TimeNow.
Functions ¶
func AddDurationToUnixNano ¶
Adds a duration to the given unix time in nanoseconds.
func CurrTimeUnixNano ¶
func CurrTimeUnixNano() int64
Returns the time as Unix time in nanoseconds by calling TimeFunc.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.