Skip to content

Glossary: Go Basics

Struct literal

A struct value written in code, such as `Product{SKU: "MUG-BL"}`. Fields you leave out get their zero value.

Where the book teaches it