Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShortCodeGenerator ¶
type ShortCodeGenerator struct {
// contains filtered or unexported fields
}
func NewShortCodeGenerator ¶
func NewShortCodeGenerator(shortCodeLength int) *ShortCodeGenerator
Constructor for ShortCodeGenerator
func (*ShortCodeGenerator) GenerateShortCode ¶
func (g *ShortCodeGenerator) GenerateShortCode() string
GenerateShortCode creates a short code of a specified length using a character set.
Click to show internal directories.
Click to hide internal directories.