]> Cypherpunks.ru repositories - gostls13.git/commit
math/rand/v2: remove Read
authorRuss Cox <rsc@golang.org>
Tue, 6 Jun 2023 12:53:54 +0000 (08:53 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 30 Oct 2023 14:30:14 +0000 (14:30 +0000)
commitd6c1ef52ad31eea6795b199801969a11b0dc55d1
tree8d15d46d5d3b751026415935325c0c7e9f0263f2
parentd42750b17c17fb1c3241b74c7ba2af96dff10195
math/rand/v2: remove Read

In math/rand, Read is deprecated. Remove in v2.
People should use crypto/rand if they need long strings.

For #61716.

Change-Id: Ib254b7e1844616e96db60a3a7abb572b0dcb1583
Reviewed-on: https://go-review.googlesource.com/c/go/+/502497
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
api/next/61716.txt
src/math/rand/v2/race_test.go
src/math/rand/v2/rand.go
src/math/rand/v2/rand_test.go
src/math/rand/v2/regress_test.go