From: Jaana Burcu Dogan Date: Thu, 2 Feb 2017 19:48:22 +0000 (-0800) Subject: doc: add link to the setting GOPATH guide X-Git-Tag: go1.9beta1~1262 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=29be58039577a69bfe239a8aaf2cf26d8debf566;p=gostls13.git doc: add link to the setting GOPATH guide Change-Id: I4718c82540ef214728393824b89c8c7f6656823b Reviewed-on: https://go-review.googlesource.com/36210 Reviewed-by: Russ Cox --- diff --git a/doc/code.html b/doc/code.html index 796431aa14..ee9988b0a9 100644 --- a/doc/code.html +++ b/doc/code.html @@ -124,8 +124,12 @@ workspace. It defaults to a directory named go inside your home dir so $HOME/go on Unix, $home/go on Plan 9, and %USERPROFILE%\go (usually C:\Users\YourName\go) on Windows. -If you would like to work in a different location, you will need to set -GOPATH to the path to that directory. +

+ +

+If you would like to work in a different location, you will need to +set GOPATH +to the path to that directory. (Another common setup is to set GOPATH=$HOME.) Note that GOPATH must not be the same path as your Go installation.