diff options
author | Alberto Donizetti <alb.donizetti@gmail.com> | 2019-09-28 20:29:11 +0200 |
---|---|---|
committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2019-09-29 07:57:04 +0000 |
commit | c19b7b23e55f5fdb33a6c280cf1af29eb54d456f (patch) | |
tree | c737ec4ba36761533d3679f7ddc548eace868799 | |
parent | 2c47caa900cb4aca9ab9e802289fa0671ad843a4 (diff) | |
download | go-git-c19b7b23e55f5fdb33a6c280cf1af29eb54d456f.tar.gz |
doc: remove double mention of custom workspace
In the GOPATH section of the 'How To Write Go Code' document, it is
mentioned two times in the span of a few lines that one can set GOPATH
to a custom workspace path. The two paragraphs say basically the same
thing, and they both link to golang.org/wiki/SettingGOPATH, so I'm
quite sure the duplication is not intentional.
This change deletes the second occurrence.
Change-Id: I16f8bb8657041a23ed272eacf9adbc5637e8e34a
Reviewed-on: https://go-review.googlesource.com/c/go/+/197839
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r-- | doc/code.html | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/code.html b/doc/code.html index 1e380001e0..a2adc82ae0 100644 --- a/doc/code.html +++ b/doc/code.html @@ -166,11 +166,6 @@ To learn more about the <code>GOPATH</code> environment variable, see <a href="/cmd/go/#hdr-GOPATH_environment_variable"><code>'go help gopath'</code></a>. </p> -<p> -To use a custom workspace location, -<a href="https://golang.org/wiki/SettingGOPATH">set the <code>GOPATH</code> environment variable</a>. -</p> - <h3 id="ImportPaths">Import paths</h3> <p> |