Registry / utility / andersfylling-snowflake-v3

andersfylling-snowflake-v3

JSON →
library3.0.2gogounverified

A Go implementation of Twitter's Snowflake ID generation algorithm.

go get github.com/andersfylling/snowflake/v3
INSTALL
IMPORT
SIG · ANDERSFYLLING-SNOW
A
andersfylling-snowflake-v3
utilitygov3.0.2
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.

snowflake
github.com/andersfylling/snowflake/v3

Generate a unique Snowflake ID.

package main import ( "fmt" "github.com/andersfylling/snowflake/v3" ) func main() { id := snowflake.NewNode(1).Generate() fmt.Println(id) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
OpenAI (training)
1
Resources
andersfylling-snowflake-v3 — go get andersfylling-snowflake-v3 · libregistry