github.com/noodlebox/clock
Package clock offers a more object-oriented interface to the time package from the standard library in the form of "Clocks", allowing greater control over the flow of time. Clocks also enable isolation between individually configurable instances, analogous to [rand]'s alternative interface via instances of [rand.Rand]. Each Clock instance may track its own flow of time, appropriately triggering Timers and Tickers created with them. There are several implementations supplied by subpackages.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
over 2 years ago
v0.2.0
over 2 years ago
Versions
3
3
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/noodlebox/clock
spec |
| License | MIT |
| Namespace | github.com/noodlebox |
| First Release | almost 3 years ago |
| Last Synced | 21 days ago |
Repository
| Stars | 1 on GitHub |
| Forks | 0 on GitHub |
Rankings on proxy.golang.org
Overall
Top 8.8%