idgen

package
v0.22.9 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-"

Variables

This section is empty.

Functions

func New

func New() string

func NewUUIDString added in v0.17.60

func NewUUIDString() (string, error)

Types

type Generator

type Generator interface {
	NextId() (string, error)
	NextAlphaNumericPrefixedId() (string, error)
}

func NewGenerator

func NewGenerator() Generator

Jump to

Keyboard shortcuts

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