]> Cypherpunks repositories - gostls13.git/commitdiff
doc: Added link to 'go help gopath'
authorChristopher Guiney <chris@guiney.net>
Sat, 3 Jan 2015 18:46:45 +0000 (10:46 -0800)
committerAndrew Gerrand <adg@golang.org>
Mon, 5 Jan 2015 21:24:39 +0000 (21:24 +0000)
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>
doc/code.html

index 2141fb6551c85b1a17e275344c2b3365ef352d64..8cbfba04a02254a3b2def61c19463bb36a28b023 100644 (file)
@@ -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>