idutil

package
v0.0.0-...-c39e8e5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: AGPL-3.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Short

func Short(id string) string

Short returns the first 7 bytes of an ID. The prefix must be letters or digits.

func TimeRandID

func TimeRandID(t time.Time, nbytes int) string

TimeRandID generates a timestamp based unique ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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