diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2016-11-30 19:15:01 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-11-30 19:26:45 +0000 |
commit | 01dda422520e05e26ed98629b735038d7f22678c (patch) | |
tree | 2c99d833f5eaf56714a0845c10cee4a6b2b73bdd | |
parent | 2a64ebfc6d247e9177190f862b0947ac98c5eb43 (diff) | |
download | go-01dda422520e05e26ed98629b735038d7f22678c.tar.gz go-01dda422520e05e26ed98629b735038d7f22678c.zip |
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>
-rw-r--r-- | doc/go1.8.html | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/go1.8.html b/doc/go1.8.html index 257acd3e77..305066aaf4 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -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 |