Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bwmarrin/snowflake
/ types & classes
Types & classes
3 in github.com/bwmarrin/snowflake
⨍
Functions
50
◇
Types & classes
3
↓ 12 callers
TypeAlias
ID
An ID is a custom type used for a snowflake ID. This is used so we can attach methods onto the ID.
snowflake.go:96
Struct
JSONSyntaxError
A JSONSyntaxError is returned from UnmarshalJSON if an invalid ID is provided.
snowflake.go:45
Struct
Node
A Node struct holds the basic information needed for a snowflake generator node
snowflake.go:80