Skip to content

Glossary: Go Basics

Field

Also written: fields

A named value inside a struct, such as `Stock` in `Product`. You read it with a dot: `mug.Stock`.

Where the book teaches it