Skip to content

codeamp/clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Travel through time with clock

clock.NowFunc = func() time.Time {
  return time.Date(2017, 07, 11, 18, 20, 00, 0, time.UTC)
}

instead of time.Now() you can use clock.Now()

About

Travel through time with clock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages