Skip to content

Glossary: Go Basics

Constant

Also written: constants, const

A value that never changes, named with `const`, such as `bagsPerCase`. Go stops you from changing it by accident.

Where the book teaches it