Skip to content

Commit

Permalink
doc: remove double mention of custom workspace
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ALTree committed Sep 29, 2019
1 parent 2c47caa commit c19b7b2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions doc/code.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ <h3 id="GOPATH">The <code>GOPATH</code> environment variable</h3>
<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>
Expand Down

0 comments on commit c19b7b2

Please sign in to comment.