id

package
v0.0.62 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultipleNew added in v0.0.57

func MultipleNew(idLen uint8, count uint8) ([]string, error)

Multiple generates count number of cryptographically random string IDs of length idLen, consisting of mixed-case alphanumeric characters (A-Z, a-z, 0-9), with no special characters or padding. The idLen parameter must be between 0 and 255 inclusive.

func New

func New(idLen uint8) (string, error)

New generates a cryptographically random string ID of length idLen, consisting of mixed-case alphanumeric characters (A-Z, a-z, 0-9), with no special characters or padding. The idLen parameter must be between 0 and 255 inclusive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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