Discover Packages
github.com/ucgeorge/switchboard
internal
ids
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 8, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package ids generates prefixed, time-sortable identifiers.
New returns an ID of the form "<prefix>_<time><random>", where the time
component sorts lexicographically by millisecond and the random suffix
carries 60 bits of entropy.
Random returns n random characters from the base32 alphabet.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.