Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLockedSource ¶
NewLockedSource returns a new pseudo-random Source seeded with the given value. The returned source is safe for concurrent usage.
Types ¶
type StringRand ¶
type StringRand struct {
// contains filtered or unexported fields
}
StringRand is a source of random characters.
func NewStringRand ¶
func NewStringRand(src rand.Source) *StringRand
NewStringRand returns a Rand implementation that generates strings.
Click to show internal directories.
Click to hide internal directories.