_content/doc/tutorial: remove mention of init function
the init function is removed from the code example: https://github.com/golang/website/commit/f7341273feb9c0d7d7e12a52d975e7834bf32aa1
Change-Id: Id247fed6f46ad83e47c9871519ed8001dca79c62
GitHub-Last-Rev: 012feea9ebd1e0d68424c25dd8560138fe6182e9
GitHub-Pull-Request: golang/website#230
Reviewed-on: https://go-review.googlesource.com/c/website/+/507096
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
diff --git a/_content/doc/tutorial/random-greeting.html b/_content/doc/tutorial/random-greeting.html
index ee65a08..96d4ea5 100644
--- a/_content/doc/tutorial/random-greeting.html
+++ b/_content/doc/tutorial/random-greeting.html
@@ -92,13 +92,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
<code>name</code> value together to create the message.