Skip to content

Glossary: Go Basics

Pointer receiver

Also written: pointer receivers

A receiver written `(p *T)` so a method can change the original value instead of a copy. Use one when the method changes the value.

Where the book teaches it