summaryrefslogtreecommitdiff
path: root/doc/code.html
diff options
context:
space:
mode:
authorChristopher Guiney <chris@guiney.net>2015-01-03 10:46:45 -0800
committerAndrew Gerrand <adg@golang.org>2015-01-05 21:24:39 +0000
commitae266aaa9de102faae0fca044350593d84c4bce6 (patch)
tree5e92421d8207de21fa9759e3fc9515117dacaea4 /doc/code.html
parente6f76aac32dc1b1b467559de63a52e9ee69ae8e6 (diff)
downloadgo-git-ae266aaa9de102faae0fca044350593d84c4bce6.tar.gz
doc: Added link to 'go help gopath'
The existing go code document did not link to the GOPATH documentation. This will link to it, in hopes of making it more discoverable. Change-Id: Ie4ded2fdce08f412e4acbcc93acdd76f5791b84a Reviewed-on: https://go-review.googlesource.com/2265 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'doc/code.html')
-rw-r--r--doc/code.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/code.html b/doc/code.html
index 2141fb6551..8cbfba04a0 100644
--- a/doc/code.html
+++ b/doc/code.html
@@ -127,6 +127,11 @@ to your <code>PATH</code>:
$ <b>export PATH=$PATH:$GOPATH/bin</b>
</pre>
+<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>
+</p>
<h3 id="PackagePaths">Package paths</h3>