Glossary: System Design Basics in Go
fake clock
A clock function a test swaps in and moves by hand, so tests of expiry don't have to wait real time.
Glossary: System Design Basics in Go
A clock function a test swaps in and moves by hand, so tests of expiry don't have to wait real time.