id

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package id generates opaque, globally unique identifiers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (string, error)

New returns a new KSUID string.

func NewPrefixed

func NewPrefixed(prefix string) (string, error)

NewPrefixed returns a new KSUID string prefixed by prefix. Prefix semantics belong to the caller; this package does not maintain business identifier namespaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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