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

x/website: #61790

Closed
froucoux opened this issue Aug 6, 2023 · 1 comment
Closed

x/website: #61790

froucoux opened this issue Aug 6, 2023 · 1 comment

Comments

@froucoux
Copy link

froucoux commented Aug 6, 2023

What is the URL of the page with the issue?

https://go.dev/doc/tutorial/random-greeting

What did you do?

Following the tutorial

What did you expect to see?

Given that instruction in the tutorial :
"Add an init function to seed the rand package with the current time. Go executes init functions automatically at program startup, after global variables have been initialized. For more about init functions, see Effective Go."

I expect an init function in the source code.

What did you see instead?

The init function is not present in the source code (and the rand.seed function is deprecated).)

@gopherbot gopherbot added this to the Unreleased milestone Aug 6, 2023
@seankhliao
Copy link
Member

Duplicate of #60627

@seankhliao seankhliao marked this as a duplicate of #60627 Aug 6, 2023
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Aug 6, 2023
@golang golang locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants