summaryrefslogtreecommitdiff
path: root/doc/code.html
diff options
context:
space:
mode:
authorEdward Muller <edwardam@interlix.com>2016-09-07 11:39:31 -0700
committerRob Pike <r@golang.org>2016-09-10 00:27:43 +0000
commit81dfcba331f43bd14c8933eca83c433e53cb7b55 (patch)
tree9cf178f505d6c07919ba6a288dd1f40d6b10df85 /doc/code.html
parent1ff19201fd898c3e1a0ed5d3458c81c1f062570b (diff)
downloadgo-git-81dfcba331f43bd14c8933eca83c433e53cb7b55.tar.gz
go/build: add help info for unset $GOPATH
We relay this info in a few places, in a few different ways, but not consistently everywhere. This led one of our users to start googling and not find https://golang.org/doc/code.html#Workspaces, of which `go help gopath` is the most equivalent. Change-Id: I28a94375739f3aa4f200e145293ca2a5f65101e1 Reviewed-on: https://go-review.googlesource.com/28690 Run-TryBot: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'doc/code.html')
-rw-r--r--doc/code.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/code.html b/doc/code.html
index fdca404ba4..b64bc1a142 100644
--- a/doc/code.html
+++ b/doc/code.html
@@ -149,7 +149,7 @@ $ <b>export PATH=$PATH:$GOPATH/bin</b>
<p>
To learn more about setting up the <code>GOPATH</code> environment variable,
please see
-<a href="/cmd/go/#hdr-GOPATH_environment_variable"><code>go help gopath</code></a>
+<a href="/cmd/go/#hdr-GOPATH_environment_variable"><code>'go help gopath'</code></a>
</p>
<h3 id="ImportPaths">Import paths</h3>