Y
Hacker News
new
|
ask
|
show
|
jobs
by
kornish
3869 days ago
To be fair, we don't know if `Baz` is a pointer or value receiver in the parent example. So it could:
https://play.golang.org/p/fYO8jBbVQ5
1 comments
mratzloff
3869 days ago
That's true, but it's pretty uncommon for a function to receive a value, and if so you either have a good reason for it or you're doing something wrong.
link