summaryrefslogtreecommitdiff
path: root/doc/articles
diff options
context:
space:
mode:
Diffstat (limited to 'doc/articles')
-rw-r--r--doc/articles/c_go_cgo.html4
-rw-r--r--doc/articles/go_command.html2
-rw-r--r--doc/articles/laws_of_reflection.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/articles/c_go_cgo.html b/doc/articles/c_go_cgo.html
index ac6bb29a2f..967f57e784 100644
--- a/doc/articles/c_go_cgo.html
+++ b/doc/articles/c_go_cgo.html
@@ -149,9 +149,9 @@ is more complex than a single function call), as in this rewrite of
</p>
<p>
-To build cgo packages, just use <a href="/cmd/go/#Compile_packages_and_dependencies">"
+To build cgo packages, just use <a href="/cmd/go/#hdr-Compile_packages_and_dependencies">"
<code>go build</code>"</a> or
-<a href="/cmd/go/#Compile_and_install_packages_and_dependencies">"<code>go install</code>
+<a href="/cmd/go/#hdr-Compile_and_install_packages_and_dependencies">"<code>go install</code>
"</a> as usual. The go tool recognizes the special <code>"C"</code> import and automatically
uses cgo for those files.
</p>
diff --git a/doc/articles/go_command.html b/doc/articles/go_command.html
index e72e7acd80..fddca41e23 100644
--- a/doc/articles/go_command.html
+++ b/doc/articles/go_command.html
@@ -48,7 +48,7 @@ had to be installed in certain places, under certain names, using certain build
tools, in order to be used. That's understandable: that's the way it works in
most other languages. Over the last few years we consistently reminded people
about the <code>goinstall</code> command
-(now replaced by <a href="/cmd/go/#Download_and_install_packages_and_dependencies"><code>go get</code></a>)
+(now replaced by <a href="/cmd/go/#hdr-Download_and_install_packages_and_dependencies"><code>go get</code></a>)
and its conventions: first, that the import path is derived in a known way from
the URL of the source code; second, that the place to store the sources in
the local file system is derived in a known way from the import path; third,
diff --git a/doc/articles/laws_of_reflection.html b/doc/articles/laws_of_reflection.html
index 826a054f2e..81f6697ce5 100644
--- a/doc/articles/laws_of_reflection.html
+++ b/doc/articles/laws_of_reflection.html
@@ -213,7 +213,7 @@ type: float64
You might be wondering where the interface is here, since the program looks
like it's passing the <code>float64</code> variable <code>x</code>, not an
interface value, to <code>reflect.TypeOf</code>. But it's there; as
-<a href="/pkg/reflect/#Type.TypeOf">godoc reports</a>, the signature of
+<a href="/pkg/reflect/#TypeOf">godoc reports</a>, the signature of
<code>reflect.TypeOf</code> includes an empty interface:
</p>