id

package
v0.0.0-...-63ae334 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCanonicalV7

func IsCanonicalV7(value string) bool

IsCanonicalV7 reports whether value is a lowercase, hyphenated UUIDv7 with the RFC 9562 variant, as produced by New.

Types

type ID

type ID = string

ID is the canonical datastore identifier.

func New

func New() ID

New returns a UUIDv7 datastore identifier.

func NewAt

func NewAt(now time.Time) ID

NewAt returns a UUIDv7 datastore identifier using now for the timestamp bits.

Jump to

Keyboard shortcuts

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