Registry / utility / geertjohan-go-incremental

geertjohan-go-incremental

JSON →
library1.0.0gogounverified

Package incremental provides concurrency-safe incremental numbers.

go get github.com/GeertJohan/go.incremental
INSTALL
IMPORT
SIG · GEERTJOHAN-GO-INCR
G
geertjohan-go-incremental
utilitygov1.0.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.

incremental
✓ 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 issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
geertjohan-go-incremental — go get geertjohan-go-incremental · libregistry