Skip to content

Glossary: Go Basics

Pointer

Also written: pointers, &, *T

A value holding the address of another value. `&mug` gives a pointer to `mug`, and its type is written `*Product`, letting a function or method change the original.

Where the book teaches it

Related terms

nil