Pointers in Go
Go's approach to memory management combines pointers and garbage collection, leading to unique performance considerations. While pointers can seem advantageous for avoiding memory copies, they often lead to heap allocation, which may be slower than stack allocation. The decision to use pointers should primarily focus on whether mutability is required, as passing a pointer indicates an intention to modify the underlying value.In this clip
From this podcast

Software Engineering Radio - the podcast for professional software developers
SE Radio 608: Lane Wagner on Revisiting the Go Language
Related Questions