Registry / utility / uber-go-atomic

uber-go-atomic

JSON →
library1.11.0gogounverified

Simple wrappers around numeric types to enforce atomic access, providing a safer alternative to sync/atomic.

go get github.com/uber-go/atomic
INSTALL
IMPORT
SIG · UBER-GO-ATOMIC
U
uber-go-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
github.com/uber-go/atomic

Creates an atomic int64, increments it, and prints the value.

package main import ( "fmt" "github.com/uber-go/atomic" ) func main() { var counter atomic.Int64 counter.Inc() 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
7 hits · last 30 days
node
6
Amazon
1
Resources
uber-go-atomic — go get uber-go-atomic · libregistry