Commit Graph

3 Commits

Author SHA1 Message Date
Širhoe Biazhkovič
5b5bd57348 (minor) self call to NowUnixNano in TimeCache for Now 2022-11-16 20:04:02 +03:00
Širhoe Biazhkovič
0cbc5854cd refactor timecache
* change clock to `atomic.Int64`
* add `once` fields for starter and stopper
* update dependencies

note: go version updated to 1.19
2022-11-16 19:59:07 +03:00
Leo Balduf
55b57549a6 pkg/timecache: implement a time cache 2017-10-15 20:05:35 +02:00