Skip to content

x/website: Example for math/rand has index offset error #36777

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

Closed
onggunhao opened this issue Jan 26, 2020 · 2 comments
Closed

x/website: Example for math/rand has index offset error #36777

onggunhao opened this issue Jan 26, 2020 · 2 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@onggunhao
Copy link

image

@gopherbot gopherbot added this to the Unreleased milestone Jan 26, 2020
@ianlancetaylor
Copy link
Contributor

Why? rand.Intn(n) is documented as returning a value that is >= 0 and < n.

@agnivade agnivade added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jan 26, 2020
@onggunhao
Copy link
Author

You're right, my mistake. Closing this issue.

@golang golang locked and limited conversation to collaborators Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants