Skip to content

Commit 01dda42

Browse files
committed
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 <[email protected]>
1 parent 2a64ebf commit 01dda42

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

doc/go1.8.html

+12-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h2 id="introduction">DRAFT RELEASE NOTES - Introduction to Go 1.8</h2>
3838
<a href="#http_shutdown">adds HTTP graceful shutdown</a>,
3939
<a href="#more_context">adds more context support</a>,
4040
<a href="#mutex_prof">enables profiling mutexes</a>,
41-
and <a href="#sort">simplifies sorting slices</a>.
41+
and <a href="#sort_slice">simplifies sorting slices</a>.
4242
</p>
4343

4444
<h2 id="language">Changes to the language</h2>
@@ -339,17 +339,23 @@ <h3 id="gccgo">Gccgo</h3>
339339
version of gccgo.
340340
</p>
341341

342-
<h3 id="cmd_go">Go command</h3>
342+
<h3 id="gopath">Default GOPATH</h3>
343343

344344
<p>
345-
The <a href="/cmd/go/"><code>go</code> command</a>'s basic operation
346-
is unchanged, but there is one addition worth noting.
345+
The
346+
<a href="/cmd/go/#hdr-GOPATH_environment_variable"><code>GOPATH</code>
347+
environment variable</a> now has a default value if it
348+
is unset. It defaults to
349+
<code>$HOME/go</code> on Unix and
350+
<code>%USERPROFILE%/go</code> on Windows.
347351
</p>
348352

353+
<h3 id="go_bug">Go bug</h3>
354+
349355
<p>
350356
The new
351357
<a href="/cmd/go/#hdr-Print_information_for_bug_reports"><code>go</code>
352-
<code>bug</code></a>” starts a bug report on GitHub, prefilled
358+
<code>bug</code></a>command starts a bug report on GitHub, prefilled
353359
with information about the current system.
354360
</p>
355361

@@ -485,7 +491,7 @@ <h3 id="examples">Examples</h3>
485491
Examples have been added to the documentation across many packages.
486492
</p>
487493

488-
<h3 id="sortslice">Sort</h3>
494+
<h3 id="sort_slice">Sort</h3>
489495

490496
<p>
491497
The <a href="/pkg/sort/">sort</a> package

0 commit comments

Comments
 (0)