Registry / utility / geertjohan-go-incremental

geertjohan-go-incremental

JSON →
library1.0.0gogounverified

Package incremental provides concurrency-safe incremental numbers.

utility
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.

github.com/GeertJohan/go.incremental

Create and use a concurrency-safe incremental counter

package main import ( "fmt" "github.com/GeertJohan/go.incremental" ) func main() { counter := incremental.NewInt() fmt.Println(counter.Next()) }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources