Documentation
¶
Overview ¶
Package clock provides test-friendly wrappers around the standard library time utilities. It is located under `internal` because it is an implementation detail and should not be imported by external code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NowFunc = time.Now
NowFunc returns current time. Override in tests for determinism.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.