From 3aba9d0a7befe934fa74345d5897431af26312c7 Mon Sep 17 00:00:00 2001 From: Hao Zheng Date: Tue, 8 Aug 2023 14:36:26 +0800 Subject: [PATCH] Remove explanation for init. since the code does not have it. --- _content/doc/tutorial/random-greeting.html | 7 ------- 1 file changed, 7 deletions(-) diff --git a/_content/doc/tutorial/random-greeting.html b/_content/doc/tutorial/random-greeting.html index ee65a08bc9..96d4ea5a96 100644 --- a/_content/doc/tutorial/random-greeting.html +++ b/_content/doc/tutorial/random-greeting.html @@ -91,13 +91,6 @@ > to generate a random number for selecting an item from the slice. -
  • - 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. -
  • In Hello, call the randomFormat function to get a format for the message you'll return, then use the format and