Glossary: Data Structures and Algorithms in Go
Pointer receiver
Also written: receiver, (s *Stack)
The part of a method declaration before the name, such as `(s *Stack)`, saying which object the method works on. A pointer receiver lets the method change the original; a plain receiver changes only a copy.