Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSeededRand ¶
func BuildSeededRand(datas ...[]byte) rand.Source
BuildSeededRand builds a random source seeded by data.
func BuildSeededReader ¶ added in v1.12.2
BuildSeededReader builds a random reader seeded by data.
NOTE: the reader is not safe for concurrent use.
func SourceToReader ¶ added in v1.12.2
SourceToReader builds an io.Reader from a rand.Source.
NOTE: the reader is not safe for concurrent use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.