Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
func MockGenerator ¶
type NanoGenerator ¶
type NanoGenerator struct {
// contains filtered or unexported fields
}
func CustomGenerator ¶
func CustomGenerator(prefix string, length int, alphabet []byte) (*NanoGenerator, error)
func DefaultGenerator ¶
func DefaultGenerator(prefix string) *NanoGenerator
func (*NanoGenerator) Generate ¶
func (g *NanoGenerator) Generate() (string, error)
Click to show internal directories.
Click to hide internal directories.