Registry / utility / btnguyen2k-consu-olaf

btnguyen2k-consu-olaf

JSON →
library0.1.3gogounverified

Provides methods to generate unique ID using Twitter Snowflake algorithm.

go get github.com/btnguyen2k/consu/olaf
INSTALL
IMPORT
SIG · BTNGUYEN2K-CONSU-O
B
btnguyen2k-consu-olaf
utilitygov0.1.3
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.

olaf
github.com/btnguyen2k/consu/olaf

Generates a unique Snowflake ID.

package main import ( "fmt" "github.com/btnguyen2k/consu/olaf" ) func main() { id := olaf.NewOlaf(1).NextID() fmt.Println(id) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
btnguyen2k-consu-olaf — go get btnguyen2k-consu-olaf · libregistry