doc/go1.7.html: html tidy

Change-Id: I0e07610bae641cd63769b520089f5d854d796648
Reviewed-on: https://go-review.googlesource.com/23770
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
Ian Lance Taylor 2016-06-03 12:39:54 -07:00
parent adf261b7d6
commit 55559f159e
1 changed files with 66 additions and 37 deletions

View File

@ -95,7 +95,7 @@ The OpenBSD port now requires OpenBSD 5.6 or later, for access to the <a href="h
<h2 id="tools">Tools</h2> <h2 id="tools">Tools</h2>
<h3 id="cmd/asm">Assembler</h3> <h3 id="cmd_asm">Assembler</h3>
<p> <p>
For 64-bit ARM systems, the vector register names have been For 64-bit ARM systems, the vector register names have been
@ -196,7 +196,7 @@ To build a toolchain that does not use frame pointers, set
<code>make.bash</code>, <code>make.bat</code>, or <code>make.rc</code>. <code>make.bash</code>, <code>make.bat</code>, or <code>make.rc</code>.
</p> </p>
<h3 id="cmd/cgo">Cgo</h3> <h3 id="cmd_cgo">Cgo</h3>
<p> <p>
Packages using <a href="/cmd/cgo/">cgo</a> may now include Packages using <a href="/cmd/cgo/">cgo</a> may now include
@ -230,7 +230,7 @@ GCC release 6 contains the Go 1.6.1 version of gccgo.
The next release, GCC 7, will likely have the Go 1.8 version of gccgo. The next release, GCC 7, will likely have the Go 1.8 version of gccgo.
</p> </p>
<h3 id="cmd/go">Go command</h3> <h3 id="cmd_go">Go command</h3>
<p> <p>
The <a href="/cmd/go/"><code>go</code></a> command's basic operation The <a href="/cmd/go/"><code>go</code></a> command's basic operation
@ -270,7 +270,7 @@ will not work with such packages, and there are no plans to support
such packages in the “<code>go</code> <code>get</code>” command. such packages in the “<code>go</code> <code>get</code>” command.
</p> </p>
<h3 id="cmd/doc">Go doc</h3> <h3 id="cmd_doc">Go doc</h3>
<p> <p>
The “<code>go</code> <code>doc</code>” command The “<code>go</code> <code>doc</code>” command
@ -278,7 +278,7 @@ now groups constructors with the type they construct,
following <a href="/cmd/godoc/"><code>godoc</code></a>. following <a href="/cmd/godoc/"><code>godoc</code></a>.
</p> </p>
<h3 id="cmd/vet">Go vet</h3> <h3 id="cmd_vet">Go vet</h3>
<p> <p>
The “<code>go</code> <code>vet</code>” command The “<code>go</code> <code>vet</code>” command
@ -288,14 +288,14 @@ To avoid confusion with the new <code>-tests</code> check, the old, unadvertised
<code>-test</code> option has been removed; it was equivalent to <code>-all</code> <code>-shadow</code>. <code>-test</code> option has been removed; it was equivalent to <code>-all</code> <code>-shadow</code>.
</p> </p>
<h3 id="cmd/dist">Go tool dist</h3> <h3 id="cmd_dist">Go tool dist</h3>
<p> <p>
The new subcommand “<code>go</code> <code>tool</code> <code>dist</code> <code>list</code> The new subcommand “<code>go</code> <code>tool</code> <code>dist</code> <code>list</code>
prints all supported operating system/architecture pairs. prints all supported operating system/architecture pairs.
</p> </p>
<h3 id="cmd/trace">Go tool trace</h3> <h3 id="cmd_trace">Go tool trace</h3>
<p> <p>
The “<code>go</code> <code>tool</code> <code>trace</code>” command, The “<code>go</code> <code>tool</code> <code>trace</code>” command,
@ -335,7 +335,7 @@ the code generation changes alone typically reduce program CPU time by 5-35%.
</p> </p>
<p> <p>
<!-- git log --grep '-[0-9][0-9]\.[0-9][0-9]%' go1.6.. --> <!-- git log &#45&#45grep '-[0-9][0-9]\.[0-9][0-9]%' go1.6.. -->
There have been significant optimizations bringing more than 10% improvements There have been significant optimizations bringing more than 10% improvements
to implementations in the to implementations in the
<a href="/pkg/crypto/sha1/"><code>crypto/sha1</code></a>, <a href="/pkg/crypto/sha1/"><code>crypto/sha1</code></a>,
@ -470,7 +470,7 @@ made with the Go 1 <a href="/doc/go1compat">promise of compatibility</a>
in mind. in mind.
</p> </p>
<dl id="bufio"><a href="/pkg/bufio/">bufio</a></dl> <dl id="bufio"><dt><a href="/pkg/bufio/">bufio</a></dt>
<dd> <dd>
<p> <p>
@ -482,8 +482,9 @@ it would return an empty slice and the error <code>ErrBufferFull</code>.
Now it returns the entire underlying buffer, still accompanied by the error <code>ErrBufferFull</code>. Now it returns the entire underlying buffer, still accompanied by the error <code>ErrBufferFull</code>.
</p> </p>
</dd> </dd>
</dl>
<dl id="bytes"><a href="/pkg/bytes/">bytes</a></dl> <dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt>
<dd> <dd>
<p> <p>
@ -510,8 +511,9 @@ The
<a href="/pkg/bytes/#Reader.Reset"><code>Reset</code></a> to allow reuse of a <code>Reader</code>. <a href="/pkg/bytes/#Reader.Reset"><code>Reset</code></a> to allow reuse of a <code>Reader</code>.
</p> </p>
</dd> </dd>
</dl>
<dl id="compress/flate"><a href="/pkg/compress/flate/">compress/flate</a></dl> <dl id="compress_flate"><dt><a href="/pkg/compress/flate/">compress/flate</a></dt>
<dd> <dd>
<p> <p>
@ -557,8 +559,9 @@ Now, it reports
<a href="/pkg/io/#EOF"><code>io.EOF</code></a> more eagerly when reading the last set of bytes. <a href="/pkg/io/#EOF"><code>io.EOF</code></a> more eagerly when reading the last set of bytes.
</p> </p>
</dd> </dd>
</dl>
<dl id="crypto/tls"><a href="/pkg/crypto/tls/">crypto/tls</a></dl> <dl id="crypto_tls"><dt><a href="/pkg/crypto/tls/">crypto/tls</a></dt>
<dd> <dd>
<p> <p>
@ -594,8 +597,9 @@ When generating self-signed certificates, the package no longer sets the
“Authority Key Identifier” field by default. “Authority Key Identifier” field by default.
</p> </p>
</dd> </dd>
</dl>
<dl id="crypto/x509"><a href="/pkg/crypto/x509/">crypto/x509</a></dl> <dl id="crypto_x509"><dt><a href="/pkg/crypto/x509/">crypto/x509</a></dt>
<dd> <dd>
<p> <p>
@ -606,8 +610,9 @@ There is also a new associated error type
<a href="/pkg/crypto/x509/#SystemRootsError"><code>SystemRootsError</code></a>. <a href="/pkg/crypto/x509/#SystemRootsError"><code>SystemRootsError</code></a>.
</p> </p>
</dd> </dd>
</dl>
<dl id="debug/dwarf"><a href="/pkg/debug/dwarf/">debug/dwarf</a></dl> <dl id="debug_dwarf"><dt><a href="/pkg/debug/dwarf/">debug/dwarf</a></dt>
<dd> <dd>
<p> <p>
@ -621,8 +626,9 @@ help to find the compilation unit to pass to a
and to identify the specific function for a given program counter. and to identify the specific function for a given program counter.
</p> </p>
</dd> </dd>
</dl>
<dl id="debug/elf"><a href="/pkg/debug/elf/">debug/elf</a></dl> <dl id="debug_elf"><dt><a href="/pkg/debug/elf/">debug/elf</a></dt>
<dd> <dd>
<p> <p>
@ -632,8 +638,9 @@ and its many predefined constants
support the S390 port. support the S390 port.
</p> </p>
</dd> </dd>
</dl>
<dl id="encoding/asn1"><a href="/pkg/encoding/asn1/">encoding/asn1</a></dl> <dl id="encoding_asn1"><dt><a href="/pkg/encoding/asn1/">encoding/asn1</a></dt>
<dd> <dd>
<p> <p>
@ -641,8 +648,9 @@ The ASN.1 decoder now rejects non-minimal integer encodings.
This may cause the package to reject some invalid but formerly accepted ASN.1 data. This may cause the package to reject some invalid but formerly accepted ASN.1 data.
</p> </p>
</dd> </dd>
</dl>
<dl id="encoding/json"><a href="/pkg/encoding/json/">encoding/json</a></dl> <dl id="encoding_json"><dt><a href="/pkg/encoding/json/">encoding/json</a></dt>
<dd> <dd>
<p> <p>
@ -706,8 +714,9 @@ so this change should be semantically backwards compatible with earlier versions
even though it does change the chosen encoding. even though it does change the chosen encoding.
</p> </p>
</dd> </dd>
</dl>
<dl id="go/build"><a href="/pkg/go/build/">go/build</a></dl> <dl id="go_build"><dt><a href="/pkg/go/build/">go/build</a></dt>
<dd> <dd>
<p> <p>
@ -718,8 +727,9 @@ the
adds new fields <code>BinaryOnly</code>, <code>CgoFFLAGS</code>, and <code>FFiles</code>. adds new fields <code>BinaryOnly</code>, <code>CgoFFLAGS</code>, and <code>FFiles</code>.
</p> </p>
</dd> </dd>
</dl>
<dl id="go/doc"><a href="/pkg/go/doc/">go/doc</a></dl> <dl id="go_doc"><dt><a href="/pkg/go/doc/">go/doc</a></dt>
<dd> <dd>
<p> <p>
@ -728,8 +738,9 @@ To support the corresponding change in <code>go</code> <code>test</code> describ
indicating whether the example may generate its output lines in any order. indicating whether the example may generate its output lines in any order.
</p> </p>
</dd> </dd>
</dl>
<dl id="io"><a href="/pkg/io/">io</a></dl> <dl id="io"><dt><a href="/pkg/io/">io</a></dt>
<dd> <dd>
<p> <p>
@ -742,8 +753,9 @@ These constants are preferred over <code>os.SEEK_SET</code>, <code>os.SEEK_CUR</
but the latter will be preserved for compatibility. but the latter will be preserved for compatibility.
</p> </p>
</dd> </dd>
</dl>
<dl id="math/big"><a href="/pkg/math/big/">math/big</a></dl> <dl id="math_big"><dt><a href="/pkg/math/big/">math/big</a></dt>
<dd> <dd>
<p> <p>
@ -756,8 +768,9 @@ so that values of type <code>Float</code> can now be encoded and decoded using t
package. package.
</p> </p>
</dd> </dd>
</dl>
<dl id="mime/multipart"><a href="/pkg/mime/multipart/">mime/multipart</a></dl> <dl id="mime_multipart"><dt><a href="/pkg/mime/multipart/">mime/multipart</a></dt>
<dd> <dd>
<p> <p>
@ -768,8 +781,9 @@ Previously, iteration over a map caused the section header to use a
non-deterministic order. non-deterministic order.
</p> </p>
</dd> </dd>
</dl>
<dl id="net"><a href="/pkg/net/">net</a></dl> <dl id="net"><dt><a href="/pkg/net/">net</a></dt>
<dd> <dd>
<p> <p>
@ -801,8 +815,9 @@ stated preference for the priority of DNS lookups compared to
local file (that is, <code>/etc/hosts</code>) lookups. local file (that is, <code>/etc/hosts</code>) lookups.
</p> </p>
</dd> </dd>
</dl>
<dl id="net/http"><a href="/pkg/net/http/">net/http</a></dl> <dl id="net_http"><dt><a href="/pkg/net/http/">net/http</a></dt>
<dd> <dd>
<p> <p>
@ -888,8 +903,9 @@ this transparent decompression took place.
adds support for a few new audio and video content types. adds support for a few new audio and video content types.
</p> </p>
</dd> </dd>
</dl>
<dl id="net/http/cgi"><a href="/pkg/net/http/cgi/">net/http/cgi</a></dl> <dl id="net_http_cgi"><dt><a href="/pkg/net/http/cgi/">net/http/cgi</a></dt>
<dd> <dd>
<p> <p>
@ -902,8 +918,9 @@ standard error away from the host process's
standard error. standard error.
</p> </p>
</dd> </dd>
</dl>
<dl id="net/http/httptest"><a href="/pkg/net/http/httptest/">net/http/httptest</a></dl> <dl id="net_http_httptest"><dt><a href="/pkg/net/http/httptest/">net/http/httptest</a></dt>
<dd> <dd>
<p> <p>
@ -927,8 +944,9 @@ instead of accessing
<code>ResponseRecorder</code>'s <code>HeaderMap</code> directly. <code>ResponseRecorder</code>'s <code>HeaderMap</code> directly.
</p> </p>
</dd> </dd>
</dl>
<dl id="net/http/httputil"><a href="/pkg/net/http/httputil/">net/http/httputil</a></dl> <dl id="net_http_httputil"><dt><a href="/pkg/net/http/httputil/">net/http/httputil</a></dt>
<dd> <dd>
<p> <p>
@ -951,8 +969,9 @@ and
instead. instead.
</p> </p>
</dd> </dd>
</dl>
<dl id="net/http/pprof"><a href="/pkg/net/http/pprof/">net/http/pprof</a></dl> <dl id="net_http_pprof"><dt><a href="/pkg/net/http/pprof/">net/http/pprof</a></dt>
<dd> <dd>
<p> <p>
@ -962,8 +981,9 @@ allowing collection of traces for intervals smaller than one second.
This is especially useful on busy servers. This is especially useful on busy servers.
</p> </p>
</dd> </dd>
</dl>
<dl><a href="/pkg/net/mail/">net/mail</a></dl> <dl><dt><a href="/pkg/net/mail/">net/mail</a></dt>
<dd> <dd>
<p> <p>
@ -986,8 +1006,9 @@ They used to ignore any characters following an e-mail address, but
will now return an error for anything other than whitespace. will now return an error for anything other than whitespace.
</p> </p>
</dd> </dd>
</dl>
<dl id="net/url"><a href="/pkg/net/url/">net/url</a></dl> <dl id="net_url"><dt><a href="/pkg/net/url/">net/url</a></dt>
<dd> <dd>
<p> <p>
@ -999,8 +1020,9 @@ in order to distinguish URLs without query strings (like <code>/search</code>)
from URLs with empty query strings (like <code>/search?</code>). from URLs with empty query strings (like <code>/search?</code>).
</p> </p>
</dd> </dd>
</dl>
<dl id="os"><a href="/pkg/os/">os</a></dl> <dl id="os"><dt><a href="/pkg/os/">os</a></dt>
<dd> <dd>
<p> <p>
@ -1015,8 +1037,9 @@ making the implementation behave as on
non-Windows systems. non-Windows systems.
</p> </p>
</dd> </dd>
</dl>
<dl id="os/exec"><a href="/pkg/os/exec/">os/exec</a></dl> <dl id="os_exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt>
<dd> <dd>
<p> <p>
@ -1027,8 +1050,9 @@ is like
<a href="/pkg/os/exec/#Command"><code>Command</code></a> but includes a context that can be used to cancel the command execution. <a href="/pkg/os/exec/#Command"><code>Command</code></a> but includes a context that can be used to cancel the command execution.
</p> </p>
</dd> </dd>
</dl>
<dl id="os/user"><a href="/pkg/os/user/">os/user</a></dl> <dl id="os_user"><dt><a href="/pkg/os/user/">os/user</a></dt>
<dd> <dd>
<p> <p>
@ -1047,8 +1071,9 @@ and the new field <code>GroupIds</code> in the <code>User</code> struct,
provides access to system-specific user group information. provides access to system-specific user group information.
</p> </p>
</dd> </dd>
</dl>
<dl id="reflect"><a href="/pkg/reflect/">reflect</a></dl> <dl id="reflect"><dt><a href="/pkg/reflect/">reflect</a></dt>
<dd> <dd>
<p> <p>
@ -1095,8 +1120,9 @@ methods of
no longer return or count unexported methods. no longer return or count unexported methods.
</p> </p>
</dd> </dd>
</dl>
<dl id="strings"><a href="/pkg/strings/">strings</a></dl> <dl id="strings"><dt><a href="/pkg/strings/">strings</a></dt>
<dd> <dd>
<p> <p>
@ -1115,8 +1141,9 @@ The
<a href="/pkg/strings/#Reader.Reset"><code>Reset</code></a> to allow reuse of a <code>Reader</code>. <a href="/pkg/strings/#Reader.Reset"><code>Reset</code></a> to allow reuse of a <code>Reader</code>.
</p> </p>
</dd> </dd>
</dl>
<dl id="time"><a href="/pkg/time/">time</a></dl> <dl id="time"><dt><a href="/pkg/time/">time</a></dt>
<dd> <dd>
<p> <p>
@ -1139,8 +1166,9 @@ cannot be found, for example on Windows.
The Windows time zone abbreviation list has also been updated. The Windows time zone abbreviation list has also been updated.
</p> </p>
</dd> </dd>
</dl>
<dl id="syscall"><a href="/pkg/syscall/">syscall</a></dl> <dl id="syscall"><dt><a href="/pkg/syscall/">syscall</a></dt>
<dd> <dd>
<p> <p>
@ -1157,3 +1185,4 @@ will call the
system call before executing the new program. system call before executing the new program.
</p> </p>
</dd> </dd>
</dl>