summaryrefslogtreecommitdiff
path: root/doc/articles
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2013-09-27 09:46:36 +1000
committerAndrew Gerrand <adg@golang.org>2013-09-27 09:46:36 +1000
commit6eababd679cc7d4da49693e2a68fefb39ebdde6b (patch)
treec21693428176623d5311b9a05b37a15544fdc28c /doc/articles
parentd7396101c2fa73d4f7aa349040deb16fd06d2e45 (diff)
downloadgo-6eababd679cc7d4da49693e2a68fefb39ebdde6b.tar.gz
doc: update links to spec and memory model
Fixes issue 6488. R=golang-dev, r CC=golang-dev https://codereview.appspot.com/14004043
Diffstat (limited to 'doc/articles')
-rw-r--r--doc/articles/wiki/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/articles/wiki/index.html b/doc/articles/wiki/index.html
index 5d290a2ac..ed42e3981 100644
--- a/doc/articles/wiki/index.html
+++ b/doc/articles/wiki/index.html
@@ -154,7 +154,7 @@ function to return <code>*Page</code> and <code>error</code>.
Callers of this function can now check the second parameter; if it is
<code>nil</code> then it has successfully loaded a Page. If not, it will be an
<code>error</code> that can be handled by the caller (see the
-<a href="/ref/spec#Errors">language specification</a> for details).
+<a href="/doc/spec#Errors">language specification</a> for details).
</p>
<p>
@@ -616,7 +616,7 @@ Let's put a call to <code>getTitle</code> in each of the handlers:
Catching the error condition in each handler introduces a lot of repeated code.
What if we could wrap each of the handlers in a function that does this
validation and error checking? Go's
-<a href="/ref/spec#Function_declarations">function
+<a href="/doc/spec#Function_literals">function
literals</a> provide a powerful means of abstracting functionality
that can help us here.
</p>