diff options
author | Andrew Gerrand <adg@golang.org> | 2013-05-13 09:24:34 -0700 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-05-13 09:24:34 -0700 |
commit | 9294a08f1b2a8470fdb52504caf06a532a678b09 (patch) | |
tree | 9eb34139a1b06b6891936709a59d05ec4b9551c6 | |
parent | 46a6097aa7943a490e9bd2e04274845d0e5e200f (diff) | |
download | go-9294a08f1b2a8470fdb52504caf06a532a678b09.tar.gz go-9294a08f1b2a8470fdb52504caf06a532a678b09.zip |
[release-branch.go1.1] doc: add a "New packages" section to the 1.1 release notes.
««« CL 9344044 / 880991592ded
doc: add a "New packages" section to the 1.1 release notes.
R=adg, r
CC=golang-dev
https://golang.org/cl/9344044
»»»
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/9386043
-rw-r--r-- | doc/go1.1.html | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/doc/go1.1.html b/doc/go1.1.html index b242e0734b..6256ae2010 100644 --- a/doc/go1.1.html +++ b/doc/go1.1.html @@ -694,6 +694,36 @@ The old package <code>exp/norm</code> has also been moved, but to a new reposito be developed. </p> +<h3 id="new_packages">New packages</h3> + +<p> +There are three new packages. +</p> + +<ul> +<li> +The <a href="/pkg/go/format/"><code>go/format</code></a> package provides +a convenient way for a program to access the formatting capabilities of the +<a href="/cmd/go/#hdr-Run_gofmt_on_package_sources"><code>go fmt</code></a> command. +It has two functions, +<a href="/pkg/go/format/#Node"><code>Node</code></a> to format a Go parser +<a href="/pkg/go/ast/#Node"><code>Node</code></a>, +and +<a href="/pkg/go/format/#Source"><code>Source</code></a> +to reformat arbitrary Go source code into the standard format as provided by the +<a href="/cmd/go/#hdr-Run_gofmt_on_package_sources"><code>go fmt</code></a> command. +</li> + +<li> +The <a href="/pkg/net/http/cookiejar/"><code>net/http/cookiejar</code></a> package provides the basics for managing HTTP cookies. +</li> + +<li> +The <a href="/pkg/runtime/race/"><code>runtime/race</code></a> package provides low-level facilities for data race detection. +It is internal to the race detector and does not otherwise export any user-visible functionality. +</li> +</ul> + <h3 id="minor_library_changes">Minor changes to the library</h3> <p> @@ -797,17 +827,6 @@ command can filter or present according to the value of the <code>-notes</code> </li> <li> -A new package, <a href="/pkg/go/format/"><code>go/format</code></a>, provides -a convenient way for a program to access the formatting capabilities of <code>gofmt</code>. -It has two functions, -<a href="/pkg/go/format/#Node"><code>Node</code></a> to format a Go parser -<a href="/pkg/go/ast/#Node"><code>Node</code></a>, -and -<a href="/pkg/go/format/#Source"><code>Source</code></a> -to format arbitrary Go source code. -</li> - -<li> The undocumented and only partially implemented "noescape" feature of the <a href="/pkg/html/template/"><code>html/template</code></a> package has been removed; programs that depend on it will break. @@ -944,10 +963,6 @@ being fully consumed. </li> <li> -The new <a href="/pkg/net/http/cookiejar/"><code>net/http/cookiejar</code></a> package provides the basics for managing HTTP cookies. -</li> - -<li> The <a href="/pkg/net/mail/"><code>net/mail</code></a> package has two new functions, <a href="/pkg/net/mail/#ParseAddress"><code>ParseAddress</code></a> and <a href="/pkg/net/mail/#ParseAddressList"><code>ParseAddressList</code></a>, |