snowflake

package module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package snowflake provides a unique ID generator based on the Twitter Snowflake algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() identifier.Generator

New creates a new Snowflake generator with a random node ID. It panics if node creation fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL