Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions _content/doc/tutorial/random-greeting.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,6 @@
>
to generate a random number for selecting an item from the slice.
</li>
<li>
Add an <code>init</code> function to seed the <code>rand</code> package
with the current time. Go executes <code>init</code> functions
automatically at program startup, after global variables have been
initialized. For more about <code>init</code> functions, see
<a href="/doc/effective_go.html#init">Effective Go</a>.
</li>
<li>
In <code>Hello</code>, call the <code>randomFormat</code> function to
get a format for the message you'll return, then use the format and
Expand Down