commit | 41df830312367e01f9de6494457ff35ccab1a2fa | [log] [tgz] |
---|---|---|
author | Dan Kortschak <dan@kortschak.io> | Tue Nov 26 18:19:43 2019 +1030 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Tue Nov 26 13:53:15 2019 +0000 |
tree | a29c1fcad399f75ea7e783ddea52f93477303fba | |
parent | a1ab85dbe136a36c66fbea07de5e3d62a0ce60ad [diff] |
rand: remove fallback code This was in place to allow users with Go versions prior to the math/bits package to use rand. The code in rng.go now uses math/bits, so the separation is no longer justified. Change-Id: I99be8d6e3b39bf7981f0ed85bd418e7902064468 Reviewed-on: https://go-review.googlesource.com/c/exp/+/208917 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.