Skip to content

Glossary: Algorithms Beyond the Basics in Go

Pointer receiver

Also written: pointer receivers

A Go method declared on `*Type` so it can change the struct itself. Heap `Push`/`Pop` and union-find methods need it.

Where the book teaches it

Related terms

container/heapUnion-find