Pointers in Go - When to use the ampersand and the asterisk?
Oct 29, 2025 路 2 min read 路 Looking back, this might be a dumb question, but that鈥檚 what blog notes are for 馃ぃ tl;dr &: Used as an operator to get the address of a variable * in Type: Used to define the type as a pointer (e.g., *int) * in Expression: Used as an operator to d...
Join discussion




