Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
tour: clarify when to use pointer receivers #17524
There appears to be a confusion (at least to me) on what the appropriate receiver type ought to be by default.
this seems to imply that you should default to using pointer receivers in only those two cases.
So to summarize; the tour.golang notes makes it appear as if pointer receivers are the exception(that was my impression when I went through those notes as a new go user some months back) whereas in actual sense they are (or ought to be) the default.