Skip to content

Commit

Permalink
doc: document default GOPATH in go1.8.html
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bradfitz committed Nov 30, 2016
1 parent 2a64ebf commit 01dda42
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions doc/go1.8.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h2 id="introduction">DRAFT RELEASE NOTES - Introduction to Go 1.8</h2>
<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>
Expand Down Expand Up @@ -339,17 +339,23 @@ <h3 id="gccgo">Gccgo</h3>
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>

Expand Down Expand Up @@ -485,7 +491,7 @@ <h3 id="examples">Examples</h3>
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
Expand Down

0 comments on commit 01dda42

Please sign in to comment.