Registry / utility / atomic

atomic

JSON →
library1.11.0gogounverified

Package atomic provides simple wrappers around numerics to enforce atomic access.

go get go.uber.org/atomic
INSTALL
IMPORT
SIG · ATOMIC
A
atomic
utilitygov1.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

atomic
go.uber.org/atomic

Create an atomic int64, increment it, and print its value.

import "go.uber.org/atomic" var counter atomic.Int64 counter.Add(1) fmt.Println(counter.Load())
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.11.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
2
Resources
atomic — go get atomic · libregistry