Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultEntropy ¶
DefaultEntropy returns a reader that generates ULID entropy. The default entropy function utilizes math/rand.Rand, which is not safe for concurrent use by multiple goroutines. Therefore, this function employs x/exp/rand, as recommended by the authors of the library.
func DefaultGenerator ¶
func DefaultGenerator() string
func MockGenerator ¶
func MockGenerator(mockValue string)
func ResetGenerator ¶
func ResetGenerator()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.