Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
052d845c
Commit
052d845c
authored
Feb 26, 2013
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix wiki codelab description of template parsing
R=golang-dev, r CC=golang-dev
https://golang.org/cl/7372048
parent
e3ed4cac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
doc/articles/wiki/index.html
doc/articles/wiki/index.html
+5
-4
No files found.
doc/articles/wiki/index.html
View file @
052d845c
...
@@ -544,10 +544,11 @@ can't be loaded the only sensible thing to do is exit the program.
...
@@ -544,10 +544,11 @@ can't be loaded the only sensible thing to do is exit the program.
</p>
</p>
<p>
<p>
A
<code>
for
</code>
loop is used with a
<code>
range
</code>
statement
The
<code>
ParseFiles
</code>
function takes any number of string arguments that
to iterate over an array constant containing the names of the templates we want
identify our template files, and parses those files into templates that are
parsed. If we were to add more templates to our program, we would add their
named after the base file name. If we were to add more templates to our
names to that array.
program, we would add their names to the
<code>
ParseFiles
</code>
call's
arguments.
</p>
</p>
<p>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment