You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).)
The text was updated successfully, but these errors were encountered:
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).)
The text was updated successfully, but these errors were encountered: