Skip to content

Glossary: Go in Practice

atomic.Int64

Also written: sync/atomic, atomic

A counter that many goroutines can add to and read safely at the same time. The tests use it to count successful orders and server calls.

Where the book teaches it

Related terms

Data raceWaitGroup