Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spicyusername
33 days ago
|
parent
|
context
|
favorite
| on:
Go is still not good
...do you want a copy or the original object?
tgv
33 days ago
[–]
Yup, that's it. If you're going to modify a field in the receiver, or want to pass a field by reference, you're going to need a pointer. Otherwise, a value will do, unless ... that weird interface thing makes you. I guess that's the problem?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: