Skip to content

Glossary: System Design Beyond the Basics in Go

Fake clock

A function that returns a time variable the test controls, so tests of the token bucket never have to wait.

Where the book teaches it

Related terms

Token bucketGo commands (go run, go vet, go test, go mod init)