diff options
author | Andrew Gerrand <adg@golang.org> | 2013-10-04 09:45:06 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-10-04 09:45:06 +1000 |
commit | 80f13b1dddb5357b40cd49e228c55de70fec44fb (patch) | |
tree | 1c0a9f4e33690f1bb47223d920062a97a20b1c41 /doc/articles | |
parent | ae249fb092d4f302ca2baf03f504862c0139048b (diff) | |
download | go-80f13b1dddb5357b40cd49e228c55de70fec44fb.tar.gz |
doc: move spec and memory model back to /ref/
R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/14364043
Diffstat (limited to 'doc/articles')
-rw-r--r-- | doc/articles/wiki/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/articles/wiki/index.html b/doc/articles/wiki/index.html index ed42e3981..f57857a7f 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="/doc/spec#Errors">language specification</a> for details). +<a href="/ref/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="/doc/spec#Function_literals">function +<a href="/ref/spec#Function_literals">function literals</a> provide a powerful means of abstracting functionality that can help us here. </p> |