We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 315f653 commit 3aba9d0Copy full SHA for 3aba9d0
_content/doc/tutorial/random-greeting.html
@@ -91,13 +91,6 @@
91
>
92
to generate a random number for selecting an item from the slice.
93
</li>
94
- <li>
95
- Add an <code>init</code> function to seed the <code>rand</code> package
96
- with the current time. Go executes <code>init</code> functions
97
- automatically at program startup, after global variables have been
98
- initialized. For more about <code>init</code> functions, see
99
- <a href="/doc/effective_go.html#init">Effective Go</a>.
100
- </li>
101
<li>
102
In <code>Hello</code>, call the <code>randomFormat</code> function to
103
get a format for the message you'll return, then use the format and
0 commit comments