Skip to content

Glossary: Go Basics

Package-level variable

A variable declared outside any function, so every function in the package can use it, like `products` in `catalog`.

Where the book teaches it