Y
Hacker News
new
|
ask
|
show
|
jobs
by
zbentley
207 days ago
GP didn’t say “setting a ‘bool’ value to true”, it referred to setting a “field”. Interpreted charitably, this would be done in Go via a type that
does
support atomic updates, which is totally possible.
1 comments
kiitos
207 days ago
"setting a field to true" clearly means `x.field = value` and not `x.field.Set(value)`
link