Update dependencies
This commit is contained in:
12
vendor/golang.org/x/exp/rand/rand.go
generated
vendored
12
vendor/golang.org/x/exp/rand/rand.go
generated
vendored
@@ -4,11 +4,17 @@
|
||||
|
||||
// Package rand implements pseudo-random number generators.
|
||||
//
|
||||
// Random numbers are generated by a Source. Top-level functions, such as
|
||||
// Float64 and Int, use a default shared Source that produces a deterministic
|
||||
// sequence of values each time a program is run. Use the Seed function to
|
||||
// initialize the default Source if different behavior is required for each run.
|
||||
// The default Source, a LockedSource, is safe for concurrent use by multiple
|
||||
// goroutines, but Sources created by NewSource are not. However, Sources are small
|
||||
// and it is reasonable to have a separate Source for each goroutine, seeded
|
||||
// differently, to avoid locking.
|
||||
//
|
||||
// For random numbers suitable for security-sensitive work, see the crypto/rand
|
||||
// package.
|
||||
//
|
||||
// Deprecated: use the math/rand/v2 package instead. This package is
|
||||
// scheduled to be tagged and deleted, per https://go.dev/issue/61716.
|
||||
package rand
|
||||
|
||||
import "sync"
|
||||
|
||||
Reference in New Issue
Block a user