Registry / utility / andersfylling-snowflake-v5

andersfylling-snowflake-v5

JSON →
library5.0.1gogounverified

A Go implementation of Twitter's Snowflake ID generation algorithm for creating unique, time-sortable identifiers.

go get github.com/andersfylling/snowflake/v5
INSTALL
IMPORT
SIG · ANDERSFYLLING-SNOW
A
andersfylling-snowflake-v5
utilitygov5.0.1
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/v5

Generate a new Snowflake ID

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Meta
1
OpenAI (training)
1
Resources
andersfylling-snowflake-v5 — go get andersfylling-snowflake-v5 · libregistry