Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Releases: benbjohnson/clock

v1.3.5

18 May 03:42
96c602c
Compare
Choose a tag to compare

What's Changed

  • Fix race condition on 'now' when creating a timer by @mjte-riot in #58

New Contributors

Full Changelog: v1.3.4...v1.3.5

v1.3.4

09 May 15:16
4362d70
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.3...v1.3.4

v1.3.0: Merge pull request #41 from morigs/master

16 Nov 22:00
68df829
Compare
Choose a tag to compare

This release adds support for mocking context.WithTimeout and context.WithDeadline, thanks to @morigs

v1.2.0

01 Nov 15:33
Compare
Choose a tag to compare

This release adds a Duration type alias (#30) and an Until method (#38), as well as addressing some concurrency issues (#18).

Add Reset() method

24 Nov 13:10
307483a
Compare
Choose a tag to compare

This release adds a Reset() method via #25.

This version also requires at least Go 1.15 or higher.

v1.0.3

10 Jun 22:04
d30813f
Compare
Choose a tag to compare
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

18 May 14:35
206a2de
Compare
Choose a tag to compare
Merge pull request #23 from ilyabrin/patch-1

Added missing syntax highlighting tag

v1.0.1

13 May 20:13
dcb3cf9
Compare
Choose a tag to compare
Merge pull request #21 from jsoref/grammar

Grammar

Go modules support

31 Oct 14:13
e7ca2eb
Compare
Choose a tag to compare
Merge pull request #17 from pallat/module

add go module