Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestClock ¶
type TestClock struct {
// contains filtered or unexported fields
}
TestClock returns a set time as the current time.
func NewTestClockAndTimeNow ¶
NewTestClockAndTimeNow constructs a new test clock, using the current wall-clock time as the static time, and returns that time as a convenience.
func NewTestClockNow ¶
func NewTestClockNow() *TestClock
NewTestClockNow constructs a new test clock, using the current wall-clock time as the static time.
Click to show internal directories.
Click to hide internal directories.