package
Version:
v0.0.0-...-df3943b
Opens a new window with list of versions in this module.
Published: Jul 8, 2014
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
time2 is a collection of functions meant to supplement the capabilities
provided by the standard "time" package.
type MockClock struct {
}
A fake clock useful for testing timing.
Advances the mock clock by the specified duration.
Returns the fake current time.
Resets the mock clock back to initial state.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.