Rather than hand-writing wrappers around atomic.Value, generate them automatically from the same template. The generator is at internal/gen-valuewrapper. The generator correctly handles generating wrapper structs for nillable types.
Rather than hand-writing wrappers around atomic.Value, generate them automatically from the same template. The generator is at internal/gen-valuewrapper. The generator correctly handles generating wrapper structs for nillable types.