summaryrefslogtreecommitdiff
path: root/doc/effective_go.html
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/effective_go.html
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/effective_go.html')
-rw-r--r--doc/effective_go.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index 7d2a904e5..35b15e8df 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -27,7 +27,7 @@ will be easy for other Go programmers to understand.
<p>
This document gives tips for writing clear, idiomatic Go code.
-It augments the <a href="/ref/spec">language specification</a>,
+It augments the <a href="/doc/spec">language specification</a>,
the <a href="http://tour.golang.org/">Tour of Go</a>,
and <a href="/doc/code.html">How to Write Go Code</a>,
all of which you
@@ -709,7 +709,7 @@ Erroneous encodings consume one byte and produce the
replacement rune U+FFFD.
(The name (with associated builtin type) <code>rune</code> is Go terminology for a
single Unicode code point.
-See <a href="http://golang.org/ref/spec#Rune_literals">the language specification</a>
+See <a href="http://golang.org/doc/spec#Rune_literals">the language specification</a>
for details.)
The loop
</p>
@@ -2969,7 +2969,7 @@ func Serve(queue chan *Request) {
<p>
Because data synchronization occurs on a receive from a channel
(that is, the send "happens before" the receive; see
-<a href="/ref/mem">The Go Memory Model</a>),
+<a href="/doc/mem">The Go Memory Model</a>),
acquisition of the semaphore must be on a channel receive, not a send.
</p>