prometheus/prometheus

replace uber atomic with stdlib atomic types

Offen

#14.866 geöffnet am 09.09.2024

 (24 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Go (10.408 Forks)batch import
help wantednot-as-easy-as-it-lookspriority/P3

Repository-Metriken

Stars
 (64.042 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 11T 5h) (118 gemergte PRs in 30 T)

Beschreibung

Proposal

Go 1.19 added new atomic types. Migrate usage of go.uber.org/atomic to sync/atomic and drop the dependency.

See https://go.dev/doc/go1.19#atomic_types

Contributor Guide