aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorSpencer Nelson <s@spenczar.com>2015-09-11 13:41:45 -0400
committerRob Pike <r@golang.org>2015-09-16 17:54:01 +0000
commitf9e404c1c56065cc2140a06fc5f9d1fc640cfe0f (patch)
treeda823a0800620a97c6bf3ac4b61f3e9dd78e7e88 /src/runtime/debug
parent2421c6e3df9d593e9cb9bce24df9132fc9cf83b7 (diff)
downloadgo-f9e404c1c56065cc2140a06fc5f9d1fc640cfe0f.tar.xz
math/rand: make Rand fulfill the Reader interface
Add a Read function to Rand which reads random bytes into a buffer. Fixes #8330 Change-Id: I85b90277b8be9287c6697def8dbefe0029b6ee06 Reviewed-on: https://go-review.googlesource.com/14522 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions