Commit 01cc462b authored by Andrew Gerrand's avatar Andrew Gerrand

doc: fix wiki content error

Fixes #5898.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11556043
parent 21b9d147
...@@ -128,11 +128,10 @@ In addition to saving pages, we will want to load pages, too: ...@@ -128,11 +128,10 @@ In addition to saving pages, we will want to load pages, too:
{{code "doc/articles/wiki/part1-noerror.go" `/^func loadPage/` `/^}/`}} {{code "doc/articles/wiki/part1-noerror.go" `/^func loadPage/` `/^}/`}}
<p> <p>
The function <code>loadPage</code> constructs the file name from The function <code>loadPage</code> constructs the file name from the title
the title parameter, reads the file's contents into a new parameter, reads the file's contents into a new variable <code>body</code>, and
variable <code>body</code>, and returns two values: a pointer to a returns a pointer to a <code>Page</code> literal constructed with the proper
<code>Page</code> literal constructed with the proper title and body title and body values.
values and <code>nil</code> for the error value.
</p> </p>
<p> <p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment