4 ms·
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
by yencabulator 4y 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.