Documentation ¶ Index ¶ func Must(id string) string func New() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Must ¶ func Must(id string) string Must panics if the provided ID is empty. func New ¶ func New() string New generates a new random unique identifier. Format: 16 random bytes encoded as a 32-character hex string. For production use, replace with UUID v7 for time-sortable IDs. Types ¶ This section is empty. Source Files ¶ View all Source files ids.go Click to show internal directories. Click to hide internal directories.