Skip to content

Glossary: Go Beyond the Basics

pointer receiver

Also written: pointer receivers

A method declared on `*T` instead of `T`, so it works on the original value rather than a copy. Mutex-holding types need it, since a copied mutex guards nothing.

Where the book teaches it

Related terms

mutex