Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *options)
Option represents an option to the factory methods in this package.
func IncludeControlOpt ¶
IncludeControlOpt controls whether control characters can be included in the generated strings.
type Random ¶
type Random struct {
// contains filtered or unexported fields
}
Random can be used to generate strings containing randomly selected runes.
func (Random) AllRuneLens ¶
AllRuneLens generates a string of length nRunes that contains runes of differing lengths. The lengths used are a randomized but repeating order of 1..4.
Click to show internal directories.
Click to hide internal directories.