The highest tagged major version is
v3.
package
Version:
v2.3.2+incompatible
Opens a new window with list of versions in this module.
Published: Mar 18, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 23
Opens a new window with list of known importers.
Documentation
¶
RealTime calls bulit in time package functions that follow the real flow of time
NewTimer calls time.NewTimer and gives it a stubable interface
TimeKeeper is how we stub the progress of time in applications
type Timer interface {
Chan() <-chan time.Time
Stop() bool
}
Timer is an object that returns periodic timing events. We use the builtin time.NewTimer()
generally but can also stub this out in constructors
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.