type sync/atomic.Value
8 uses
sync/atomic (current package)
value.go#L16: type Value struct {
value.go#L28: func (v *Value) Load() (val any) {
value.go#L47: func (v *Value) Store(val any) {
value.go#L90: func (v *Value) Swap(new any) (old any) {
value.go#L135: func (v *Value) CompareAndSwap(old, new any) (swapped bool) {
context
context.go#L425: done atomic.Value // of chan struct{}, created lazily, closed by first cancel call
internal/testlog
log.go#L29: var logger atomic.Value
net/http
transport.go#L107: altProto atomic.Value // of nil or map[string]RoundTripper, key is URI scheme
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |