This repository has been archived by the owner on May 18, 2023. It is now read-only.
Releases: benbjohnson/clock
Releases · benbjohnson/clock
v1.3.5
What's Changed
- Fix race condition on 'now' when creating a timer by @mjte-riot in #58
New Contributors
- @mjte-riot made their first contribution in #58
Full Changelog: v1.3.4...v1.3.5
v1.3.4
What's Changed
- improve use of mutex by @djmitche in #54
- Add method to forward time until all timers are expired by @jpicht in #51
- immediately fire a timer set to a negative duration by @marten-seemann in #50
New Contributors
- @jpicht made their first contribution in #51
- @marten-seemann made their first contribution in #50
Full Changelog: v1.3.3...v1.3.4
v1.3.0: Merge pull request #41 from morigs/master
This release adds support for mocking context.WithTimeout
and context.WithDeadline
, thanks to @morigs
v1.2.0
Add Reset() method
This release adds a Reset()
method via #25.
This version also requires at least Go 1.15 or higher.
v1.0.3
Merge pull request #24 from danielnelson/fix-race-clock-reset Lock clock state to fix race between clock.Add and timer.Reset
v1.0.2
Merge pull request #23 from ilyabrin/patch-1 Added missing syntax highlighting tag
v1.0.1
Merge pull request #21 from jsoref/grammar Grammar
Go modules support
Merge pull request #17 from pallat/module add go module