Registry / utility / disgoorg-snowflake

disgoorg-snowflake

JSON →
library1.1.0gogounverified

Package snowflake provides a Discord-style snowflake ID generator.

go get github.com/disgoorg/snowflake
INSTALL
IMPORT
SIG · DISGOORG-SNOWFLAKE
D
disgoorg-snowflake
utilitygov1.1.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.

snowflake
github.com/disgoorg/snowflake

Generates a snowflake ID and prints it.

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
disgoorg-snowflake — go get disgoorg-snowflake · libregistry