diff --git a/doc/code.html b/doc/code.html index 796431aa144..ee9988b0a94 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.