Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zbentley
· 1y ago · 0 comments
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.
Comments
[–]
kiitos
1y ago
"setting a field to true" clearly means `x.field = value` and not `x.field.Set(value)`