Skip to content

Glossary: Go Basics

Struct

Also written: structs

A type that groups related named fields into one value, like `Product` with SKU, name, price and stock.

Where the book teaches it