Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Default is the default alphabet for TinyIDs. DefaultAlphabet = "-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz" // DefaultSize is the default size for Tiny IDs. DefaultSize = 31 )
Represent the default alphabet and size for the generated tiny IDs.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenerateBytes ¶
Generate Bytes represents random bytes buffer 'step' parameter representing the number of bytes to generate and returns a byte slice and an error
Click to show internal directories.
Click to hide internal directories.