diff options
author | Andrew Gerrand <adg@golang.org> | 2013-10-09 07:05:43 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-10-09 07:05:43 +1100 |
commit | 61384567d6f647fd3ab5f899f1ec1fa31495c117 (patch) | |
tree | 70135a6e5793132cb27a90f8ee7f7b44ceb233ee /doc | |
parent | 1636013b370c4ce1f6d47eec947e70c508793d83 (diff) | |
download | go-61384567d6f647fd3ab5f899f1ec1fa31495c117.tar.gz |
doc: fix a few broken links
R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/14494044
Diffstat (limited to 'doc')
-rw-r--r-- | doc/code.html | 2 | ||||
-rw-r--r-- | doc/go1.1.html | 4 | ||||
-rw-r--r-- | doc/go1.2.html | 14 |
3 files changed, 10 insertions, 10 deletions
diff --git a/doc/code.html b/doc/code.html index 2bf50601e..f9aa6ac17 100644 --- a/doc/code.html +++ b/doc/code.html @@ -576,7 +576,7 @@ provide lists of external Go projects. <p> For more information on using remote repositories with the <code>go</code> tool, see -<code><a href="/cmd/go/#hdr-Remote_import_path_syntax">go help remote</a></code>. +<code><a href="/cmd/go/#hdr-Remote_import_paths">go help importpath</a></code>. </p> diff --git a/doc/go1.1.html b/doc/go1.1.html index a68664954..87d5f5c87 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -129,7 +129,7 @@ only an infinite "for" loop. <p> In Go 1.1, the rule about final "return" statements is more permissive. It introduces the concept of a -<a href="/ref/spec/#Terminating_statements"><em>terminating statement</em></a>, +<a href="/ref/spec#Terminating_statements"><em>terminating statement</em></a>, a statement that is guaranteed to be the last one a function executes. Examples include "for" loops with no condition and "if-else" @@ -191,7 +191,7 @@ more than 2 billion elements on 64-bit platforms. <em>Updating</em>: Most programs will be unaffected by this change. Because Go does not allow implicit conversions between distinct -<a href="/ref/spec/#Numeric_types">numeric types</a>, +<a href="/ref/spec#Numeric_types">numeric types</a>, no programs will stop compiling due to this change. However, programs that contain implicit assumptions that <code>int</code> is only 32 bits may change behavior. diff --git a/doc/go1.2.html b/doc/go1.2.html index 4b8efb66c..9f96836ac 100644 --- a/doc/go1.2.html +++ b/doc/go1.2.html @@ -580,8 +580,8 @@ The <a href="/pkg/bufio/"><code>bufio</code></a> package adds <a href="/pkg/bufio/#Reader.Reset"><code>Reset</code></a> methods to <a href="/pkg/bufio/#Reader"><code>Reader</code></a> and <a href="/pkg/bufio/#Writer"><code>Writer</code></a>. -These methods allow the <a href="/pkg/Reader/"><code>Readers</code></a> -and <a href="/pkg/Writer/"><code>Writers</code></a> +These methods allow the <a href="/pkg/io/#Reader"><code>Readers</code></a> +and <a href="/pkg/io/#Writer"><code>Writers</code></a> to be re-used on new input and output readers and writers, saving allocation overhead. </li> @@ -593,7 +593,7 @@ can now decompress concatenated archives. <li> The <a href="/pkg/compress/flate/"><code>compress/flate</code></a> -package adds a <a href="/pkg/compress/flate/#Reset"><code>Reset</code></a> +package adds a <a href="/pkg/compress/flate/#Writer.Reset"><code>Reset</code></a> method on the <a href="/pkg/compress/flate/#Writer"><code>Writer</code></a>, to make it possible to reduce allocation when, for instance, constructing an archive to hold multiple compressed files. @@ -621,9 +621,9 @@ method to provide a more efficient way to update an item's position in the heap. <li> The <a href="/pkg/container/list/"><code>container/list</code></a> package -adds the <a href="/pkg/container/list/#MoveBefore"><code>MoveBefore</code></a> +adds the <a href="/pkg/container/list/#List.MoveBefore"><code>MoveBefore</code></a> and -<a href="/pkg/container/list/#MoveAfter"><code>MoveAfter</code></a> +<a href="/pkg/container/list/#List.MoveAfter"><code>MoveAfter</code></a> methods, which implement the obvious rearrangement. </li> @@ -745,7 +745,7 @@ The default is false, representing the usual two-index form. <li> The <a href="/pkg/go/build/"><code>go/build</code></a> package adds -the <a href="/pkg/go/build/#Package.AllTags"><code>AllTags</code></a> field +the <code>AllTags</code> field to the <a href="/pkg/go/build/#Package"><code>Package</code></a> type, to make it easier to process build tags. </li> @@ -910,7 +910,7 @@ in agreement with that of other printing functions such as "printf". In the <a href="/pkg/time/"><code>time</code></a> package, the <a href="/pkg/time/#Parse"><code>Parse</code></a> function and -<a href="/pkg/time/#Format"><code>Format</code></a> +<a href="/pkg/time/#Time.Format"><code>Format</code></a> method now handle time zone offsets with seconds, such as in the historical date "1871-01-01T05:33:02+00:34:08". |