Documentation ¶
Index ¶
- type RandomChar
- type WordLength
- type WorldList
- func GenRandomLower(length int) (WorldList, error)
- func GenRandomMix(length int) (WorldList, error)
- func GenRandomNone(length int) (WorldList, error)
- func GenRandomTitle(length int) (WorldList, error)
- func GenRandomUpper(length int) (WorldList, error)
- func GenRandomWorld(length int, model string) (WorldList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomChar ¶
type WordLength ¶
type WordLength struct {
// contains filtered or unexported fields
}
type WorldList ¶
type WorldList struct { Length int Chance string Word string CharMap []RandomChar }
func GenRandomWorld ¶
GenRandomWorld returns a random word by convention, The length must be between 0 and 19. The model must be : none,upper,lower,mix,title none: String lowercase upper: String uppercase lower: String lowercase mix: String random case title: String First case
Click to show internal directories.
Click to hide internal directories.