Y
Hacker News
new
|
ask
|
show
|
jobs
by
yencabulator
1463 days ago
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.