ids

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package ids mints the lowercase, prefixed ULIDs Podium uses for every entity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(prefix string) string

New returns "<prefix>_<lowercase ULID>". IDs minted within the same millisecond are strictly increasing.

func NewArtifact

func NewArtifact() string

NewArtifact returns an art_… ID.

func NewLease

func NewLease() string

NewLease returns a lease_… ID.

func NewNode

func NewNode() string

NewNode returns a node_… ID.

func NewTask

func NewTask() string

NewTask returns a task_… ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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