1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:40:04 -07:00

doc: document default GOPATH in go1.8.html

And fix a bad link.

TBR=See https://golang.org/cl/33244

Updates #17929

Change-Id: Ib16cf55cdc4a5340f2f4f96ad5934a9fe7d49d75
Reviewed-on: https://go-review.googlesource.com/33716
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Brad Fitzpatrick 2016-11-30 19:15:01 +00:00
parent 2a64ebfc6d
commit 01dda42252

View File

@ -38,7 +38,7 @@ The release <a href="#ports">adds support for 32-bit MIPS</a>,
<a href="#http_shutdown">adds HTTP graceful shutdown</a>, <a href="#http_shutdown">adds HTTP graceful shutdown</a>,
<a href="#more_context">adds more context support</a>, <a href="#more_context">adds more context support</a>,
<a href="#mutex_prof">enables profiling mutexes</a>, <a href="#mutex_prof">enables profiling mutexes</a>,
and <a href="#sort">simplifies sorting slices</a>. and <a href="#sort_slice">simplifies sorting slices</a>.
</p> </p>
<h2 id="language">Changes to the language</h2> <h2 id="language">Changes to the language</h2>
@ -339,17 +339,23 @@ We expect that the next release, GCC 7, will contain the Go 1.8
version of gccgo. version of gccgo.
</p> </p>
<h3 id="cmd_go">Go command</h3> <h3 id="gopath">Default GOPATH</h3>
<p> <p>
The <a href="/cmd/go/"><code>go</code> command</a>'s basic operation The
is unchanged, but there is one addition worth noting. <a href="/cmd/go/#hdr-GOPATH_environment_variable"><code>GOPATH</code>
environment variable</a> now has a default value if it
is unset. It defaults to
<code>$HOME/go</code> on Unix and
<code>%USERPROFILE%/go</code> on Windows.
</p> </p>
<h3 id="go_bug">Go bug</h3>
<p> <p>
The new The new
<a href="/cmd/go/#hdr-Print_information_for_bug_reports"><code>go</code> <a href="/cmd/go/#hdr-Print_information_for_bug_reports"><code>go</code>
<code>bug</code></a>” starts a bug report on GitHub, prefilled <code>bug</code></a>command starts a bug report on GitHub, prefilled
with information about the current system. with information about the current system.
</p> </p>
@ -485,7 +491,7 @@ packages.
Examples have been added to the documentation across many packages. Examples have been added to the documentation across many packages.
</p> </p>
<h3 id="sortslice">Sort</h3> <h3 id="sort_slice">Sort</h3>
<p> <p>
The <a href="/pkg/sort/">sort</a> package The <a href="/pkg/sort/">sort</a> package