package
Version:
v0.0.0-...-ed99311
Opens a new window with list of versions in this module.
Published: Sep 4, 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.
Returns the time elapsed since the fake current time.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.