Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

math/rand: example_test should show examples with the correct Uint32 method #9429

guobiao opened this issue Dec 23, 2014 · 1 comment


Copy link

@guobiao guobiao commented Dec 23, 2014

In math/rand's example_test.go, line 75:

I believe the intention was to show with r.Uint32() rather than the written r.Int63(). Fortunately, the underlying implementation for both methods are the same, so this seems to be a trivial one-line fix.

I'll be happy to make the change if the issue is confirmed.

Copy link

@bradfitz bradfitz commented Dec 23, 2014

Yeah, feel free to send in a change. See

@bradfitz bradfitz closed this in 59cb2d9 Dec 23, 2014
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.