]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add link to the setting GOPATH guide
authorJaana Burcu Dogan <jbd@google.com>
Thu, 2 Feb 2017 19:48:22 +0000 (11:48 -0800)
committerJaana Burcu Dogan <jbd@google.com>
Tue, 7 Mar 2017 00:59:54 +0000 (00:59 +0000)
Change-Id: I4718c82540ef214728393824b89c8c7f6656823b
Reviewed-on: https://go-review.googlesource.com/36210
Reviewed-by: Russ Cox <rsc@golang.org>
doc/code.html

index 796431aa1445df252ec3725fd1b36155cd84ec8f..ee9988b0a9452ff90538240cdc01c326ebfafd9a 100644 (file)
@@ -124,8 +124,12 @@ workspace. It defaults to a directory named <code>go</code> inside your home dir
 so <code>$HOME/go</code> on Unix,
 <code>$home/go</code> on Plan 9,
 and <code>%USERPROFILE%\go</code> (usually <code>C:\Users\YourName\go</code>) on Windows.
-If you would like to work in a different location, you will need to set
-<code>GOPATH</code> to the path to that directory.
+</p>
+
+<p>
+If you would like to work in a different location, you will need to
+<a href="https://golang.org/wiki/SettingGOPATH">set <code>GOPATH</code></a>
+to the path to that directory.
 (Another common setup is to set <code>GOPATH=$HOME</code>.)
 Note that <code>GOPATH</code> must <b>not</b> be the
 same path as your Go installation.