Documentation
¶
Index ¶
- Constants
- func FileDeserializer(filePath string) (outputMap map[string]any, err error)
- func StringDeserializer(serializedString string, serializationFormat string) (outputMap map[string]any, err error)
- type Synthesizer
- func (synth *Synthesizer) CharsetPresenceGuarantor(originalString []byte, charset string) []byte
- func (synth *Synthesizer) MailAddressFactory(username *string) string
- func (synth *Synthesizer) PasswordFactory(desiredLength int, shouldIncludeSymbols bool) string
- func (synth *Synthesizer) UsernameFactory() string
Constants ¶
View Source
const ( SerializationFormatJson = "json" SerializationFormatYaml = "yaml" )
View Source
const ( CharsetLowercaseLetters string = "abcdefghijklmnopqrstuvwxyz" CharsetUppercaseLetters string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" CharsetNumbers string = "0123456789" CharsetSymbols string = "!@#$%^&*()_+" )
Variables ¶
This section is empty.
Functions ¶
func FileDeserializer ¶ added in v0.0.2
Types ¶
type Synthesizer ¶
type Synthesizer struct {
}
func (*Synthesizer) CharsetPresenceGuarantor ¶
func (synth *Synthesizer) CharsetPresenceGuarantor( originalString []byte, charset string, ) []byte
func (*Synthesizer) MailAddressFactory ¶
func (synth *Synthesizer) MailAddressFactory(username *string) string
func (*Synthesizer) PasswordFactory ¶
func (synth *Synthesizer) PasswordFactory( desiredLength int, shouldIncludeSymbols bool, ) string
func (*Synthesizer) UsernameFactory ¶
func (synth *Synthesizer) UsernameFactory() string
Click to show internal directories.
Click to hide internal directories.