mirror of
https://github.com/golang/go
synced 2024-11-11 22:20:22 -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:
parent
2a64ebfc6d
commit
01dda42252
@ -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="#more_context">adds more context support</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>
|
||||
|
||||
<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.
|
||||
</p>
|
||||
|
||||
<h3 id="cmd_go">Go command</h3>
|
||||
<h3 id="gopath">Default GOPATH</h3>
|
||||
|
||||
<p>
|
||||
The <a href="/cmd/go/"><code>go</code> command</a>'s basic operation
|
||||
is unchanged, but there is one addition worth noting.
|
||||
The
|
||||
<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>
|
||||
|
||||
<h3 id="go_bug">Go bug</h3>
|
||||
|
||||
<p>
|
||||
The new
|
||||
“<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.
|
||||
</p>
|
||||
|
||||
@ -485,7 +491,7 @@ packages.
|
||||
Examples have been added to the documentation across many packages.
|
||||
</p>
|
||||
|
||||
<h3 id="sortslice">Sort</h3>
|
||||
<h3 id="sort_slice">Sort</h3>
|
||||
|
||||
<p>
|
||||
The <a href="/pkg/sort/">sort</a> package
|
||||
|
Loading…
Reference in New Issue
Block a user