The highest tagged major version is
v2 .
Discover Packages
go.mongodb.org/mongo-driver
internal
randutil
package
Version:
v1.17.3
Opens a new window with list of versions in this module.
Published: Feb 25, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package randutil provides common random number utilities.
func NewLockedRand ¶
NewLockedRand returns a new "x/exp/rand" pseudo-random number generator seeded with a
cryptographically-secure random number.
It is safe to use from multiple goroutines.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.