filename

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultAlphabet = []byte("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ")

Functions

This section is empty.

Types

type DefaultGenerator

type DefaultGenerator struct {
	// contains filtered or unexported fields
}

func (*DefaultGenerator) Generate

func (g *DefaultGenerator) Generate(i int) string

type Generator

type Generator interface {
	Generate(i int) string
}

func NewDefaultGenerator

func NewDefaultGenerator(alphabet []byte, extension string) Generator

Jump to

Keyboard shortcuts

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