Skip to content

Testing utility for golang apps that need to have unit tests involving time.Now(), time.Sleep(), etc.

License

Notifications You must be signed in to change notification settings

mjpelmear/clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clock

This is a testing utility for golang apps that need to have unit tests involving time.Now(), time.Sleep(), etc. It is based on https://github.com/smartystreets/clock, but includes some significant deviations from that design.

Supported Functions

  • time.Now()
  • time.Sleep()
  • time.TimeSince()

About

Testing utility for golang apps that need to have unit tests involving time.Now(), time.Sleep(), etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published