diff options
author | Russ Cox <rsc@golang.org> | 2014-12-05 11:18:10 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-12-05 11:18:10 -0500 |
commit | 6d3ba1914e289ed223f7bb69f34604c0e2ae5384 (patch) | |
tree | 3781a05c976360f88b736c71316dadc789e02062 /doc | |
parent | d39e7f8f9d8d330acbcfeba7e8e254b131b05f39 (diff) | |
parent | 3ebebda3a7495402239db4369d59d73749c1bfa2 (diff) | |
download | go-dev.cc.tar.gz |
[dev.cc] all: merge default (8d42099cdc23) into dev.ccdev.cc
TBR=austin
CC=golang-codereviews
https://codereview.appspot.com/178700044
Diffstat (limited to 'doc')
-rw-r--r-- | doc/contrib.html | 21 | ||||
-rw-r--r-- | doc/go_spec.html | 2 |
2 files changed, 9 insertions, 14 deletions
diff --git a/doc/contrib.html b/doc/contrib.html index a615fc67a..8a674d647 100644 --- a/doc/contrib.html +++ b/doc/contrib.html @@ -30,21 +30,16 @@ We encourage all Go users to subscribe to <h2 id="go1">Version history</h2> <h3 id="release"><a href="/doc/devel/release.html">Release History</a></h3> -<p>A summary of the changes between Go releases.</p> -<h4 id="go1notes"><a href="/doc/go1">Go 1 Release Notes</a></h4> -<p> -A guide for updating your code to work with Go 1. -</p> +<p>A <a href="/doc/devel/release.html">summary</a> of the changes between Go releases. Notes for the major releases:</p> -<h4 id="release notes"><a href="/doc/go1.1">Go 1.1 Release Notes</a></h4> -<p> -A list of significant changes in Go 1.1, with instructions for updating -your code where necessary. -Each point release includes a similar document appropriate for that -release: <a href="/doc/go1.2">Go 1.2</a>, <a href="/doc/go1.3">Go 1.3</a>, -and so on. -</p> +<ul> + <li><a href="/doc/go1.4">Go 1.4</a> <small>(December 2014)</small></li> + <li><a href="/doc/go1.3">Go 1.3</a> <small>(June 2014)</small></li> + <li><a href="/doc/go1.2">Go 1.2</a> <small>(December 2013)</small></li> + <li><a href="/doc/go1.1">Go 1.1</a> <small>(May 2013)</small></li> + <li><a href="/doc/go1">Go 1</a> <small>(March 2012)</small></li> +</ul> <h3 id="go1compat"><a href="/doc/go1compat">Go 1 and the Future of Go Programs</a></h3> <p> diff --git a/doc/go_spec.html b/doc/go_spec.html index ca0deb56a..3b67f307f 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -5579,7 +5579,7 @@ s3 := append(s2, s0...) // append a slice s3 == []int{0, s4 := append(s3[3:6], s3[2:]...) // append overlapping slice s4 == []int{3, 5, 7, 2, 3, 5, 7, 0, 0} var t []interface{} -t = append(t, 42, 3.1415, "foo") t == []interface{}{42, 3.1415, "foo"} +t = append(t, 42, 3.1415, "foo") // t == []interface{}{42, 3.1415, "foo"} var b []byte b = append(b, "bar"...) // append string contents b == []byte{'b', 'a', 'r' } |