Documentation
¶
Overview ¶
Package text_generator Fast text generator on a mask.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextGenerator ¶
type TextGenerator struct {
// contains filtered or unexported fields
}
func (*TextGenerator) Generate ¶
func (t *TextGenerator) Generate(text string) string
Generate generates and returns a new text. Use the rules for generating a plurality of texts. Example mask: `Good {morning|day}!`
Click to show internal directories.
Click to hide internal directories.