idgen

package
v0.0.0-...-5ed4770 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package idgen provides UUIDv7-based ID generation. UUIDv7 is monotonic, time-sortable, and concurrent safe.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() string

New generates a new UUIDv7 string. Format: 550e8400-e29b-41d4-a716-446655440000 (36 chars with hyphens) Monotonic: IDs generated in sequence are sortable by time. Concurrent safe: internal mutex in google/uuid handles synchronization.

Types

This section is empty.

Jump to

Keyboard shortcuts

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