Skip to content

Glossary: Data Structures and Algorithms in Go

Struct

Also written: structs, object, instance

A type that groups named fields, with methods attached to it. A value of a struct type is called an object or instance.

Where the book teaches it

Related terms

FieldMethodPointer receiver