summaryrefslogtreecommitdiff
path: root/doc/articles
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-02-26 08:31:47 +1100
committerAndrew Gerrand <adg@golang.org>2013-02-26 08:31:47 +1100
commit052d845c5c79d716148fe88265bde33b3be9ebd3 (patch)
treec39229804a96cb5c95195cbc05e85dc5a0180922 /doc/articles
parente3ed4cace07150cd766dd81d3dfbadffd2cde7b3 (diff)
downloadgo-git-052d845c5c79d716148fe88265bde33b3be9ebd3.tar.gz
doc: fix wiki codelab description of template parsing
R=golang-dev, r CC=golang-dev https://golang.org/cl/7372048
Diffstat (limited to 'doc/articles')
-rw-r--r--doc/articles/wiki/index.html9
1 files changed, 5 insertions, 4 deletions
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.
</p>
<p>
-A <code>for</code> loop is used with a <code>range</code> 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 <code>ParseFiles</code> 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 <code>ParseFiles</code> call's
+arguments.
</p>
<p>