Commit 29be5803 authored by Jaana Burcu Dogan's avatar Jaana Burcu Dogan

doc: add link to the setting GOPATH guide

Change-Id: I4718c82540ef214728393824b89c8c7f6656823b
Reviewed-on: https://go-review.googlesource.com/36210Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent cf710949
...@@ -124,8 +124,12 @@ workspace. It defaults to a directory named <code>go</code> inside your home dir ...@@ -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, so <code>$HOME/go</code> on Unix,
<code>$home/go</code> on Plan 9, <code>$home/go</code> on Plan 9,
and <code>%USERPROFILE%\go</code> (usually <code>C:\Users\YourName\go</code>) on Windows. 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 </p>
<code>GOPATH</code> to the path to that directory.
<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>.) (Another common setup is to set <code>GOPATH=$HOME</code>.)
Note that <code>GOPATH</code> must <b>not</b> be the Note that <code>GOPATH</code> must <b>not</b> be the
same path as your Go installation. same path as your Go installation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment