From cde2c7763934e3959fedfb03ccf1295e87aca72c Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 5 Jun 2010 12:06:18 -0700 Subject: tutorial: fix one-word mistake in echo example R=rsc, iant CC=golang-dev http://codereview.appspot.com/1567041 --- doc/go_tutorial.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/go_tutorial.html') diff --git a/doc/go_tutorial.html b/doc/go_tutorial.html index 4641e065d..40fef3069 100644 --- a/doc/go_tutorial.html +++ b/doc/go_tutorial.html @@ -221,7 +221,7 @@ are mandatory. The same applies to the if and switch Later examples will show some other ways for can be written.

The body of the loop builds up the string s by appending (using +=) -the flags and separating spaces. After the loop, if the -n flag is not +the arguments and separating spaces. After the loop, if the -n flag is not set, the program appends a newline. Finally, it writes the result.

Notice that main.main is a niladic function with no return type. -- cgit v1.2.3