idgen

package
v0.17.40 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const Alphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-"

Variables

This section is empty.

Functions

func New

func New() string

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