diff options
-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>, |