generators

package
v0.0.0-...-1cb3a9d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DictionaryGenerator

type DictionaryGenerator struct {
}

func (*DictionaryGenerator) Generate

func (dg *DictionaryGenerator) Generate(data interface{}) (result string, err error)

type DictionaryKeyGenerator

type DictionaryKeyGenerator struct {
}

func (*DictionaryKeyGenerator) Generate

func (dkg *DictionaryKeyGenerator) Generate(data interface{}) (result string, err error)

type Generator

type Generator interface {
	Generate(data interface{}) (string, error)
}

func NewDictionaryGenerator

func NewDictionaryGenerator() Generator

func NewDictionaryKeyGenerator

func NewDictionaryKeyGenerator() Generator

Jump to

Keyboard shortcuts

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