From: Andrew Gerrand
Date: Mon, 25 Feb 2013 21:31:47 +0000 (+1100)
Subject: doc: fix wiki codelab description of template parsing
X-Git-Tag: go1.1rc2~856
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=052d845c5c79d716148fe88265bde33b3be9ebd3;p=gostls13.git
doc: fix wiki codelab description of template parsing
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/7372048
---
diff --git a/doc/articles/wiki/index.html b/doc/articles/wiki/index.html
index b7706777d3..ea3507f4df 100644
--- a/doc/articles/wiki/index.html
+++ b/doc/articles/wiki/index.html
@@ -544,10 +544,11 @@ can't be loaded the only sensible thing to do is exit the program.
-A for
loop is used with a range
statement
-to iterate over an array constant containing the names of the templates we want
-parsed. If we were to add more templates to our program, we would add their
-names to that array.
+The ParseFiles
function takes any number of string arguments that
+identify our template files, and parses those files into templates that are
+named after the base file name. If we were to add more templates to our
+program, we would add their names to the ParseFiles
call's
+arguments.