Skip to content

Glossary: Go in Practice

math/rand/v2

Also written: rand.N

Go's package for random numbers. `rand.N(n)` returns one from 0 up to but not including `n`, and works on a `time.Duration`, which is how jitter is added.

Where the book teaches it

Related terms

Jitter