Skip to content
Unverified Commit d3423408 authored by Nick Meves's avatar Nick Meves Committed by GitHub
Browse files

Add a clock package for better time mocking (#1136)

* Add a clock package for better time mocking

* Make Clock a struct so it doesn't need initialization

* Test clock package

* Use atomic for live time tests

* Refer to same clock.Mock throughout methods
parent 42475c28
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment