Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
01cc462b
Commit
01cc462b
authored
Jul 22, 2013
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix wiki content error
Fixes #5898. R=golang-dev, r CC=golang-dev
https://golang.org/cl/11556043
parent
21b9d147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
index.html
doc/articles/wiki/index.html
+4
-5
No files found.
doc/articles/wiki/index.html
View file @
01cc462b
...
...
@@ -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/` `/^}/`}}
<p>
The function
<code>
loadPage
</code>
constructs the file name from
the title parameter, reads the file's contents into a new
variable
<code>
body
</code>
, and returns two values: a pointer to a
<code>
Page
</code>
literal constructed with the proper title and body
values and
<code>
nil
</code>
for the error value.
The function
<code>
loadPage
</code>
constructs the file name from the title
parameter, reads the file's contents into a new variable
<code>
body
</code>
, and
returns a pointer to a
<code>
Page
</code>
literal constructed with the proper
title and body values.
</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