Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yencabulator
on June 12, 2022
|
parent
|
context
|
favorite
| on:
Data Race Patterns in Go
That's pretty easy to workaround:
type shapeContainer struct { Shape }
The usual way to use atomic.Value is by writing strongly-typed wrappers anyway, so that doesn't affect your codebase beyond about 3 lines.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: