Go 1.19: use atomic.Pointer instead of atomic.Value #2056
Labels
effort/hours
Estimated to take one or several hours
exp/beginner
Can be confidently tackled by newcomers
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
There's a few places in our codebase where we're currently using an
atomic.Value
:Go 1.19 added a
atomic.Pointer
, which makes use of generics, and allows us to do a type-safe atomic store and load operation. We should replace all uses ofatomic.Value
withatomic.Pointer
.This can be done as soon as Unified CI is updated and we've dropped support for Go 1.18.
The text was updated successfully, but these errors were encountered: