aboutsummaryrefslogtreecommitdiff
path: root/doc/install-source.html
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-02-12 20:45:45 -0800
committerIan Lance Taylor <iant@golang.org>2019-02-13 05:35:45 +0000
commitffd096db2b1cff6399eb1f86e5652564ee8ee362 (patch)
tree288dc1c03969906bf2255cd30f65bb3921c95266 /doc/install-source.html
parentc75ee696c341cef94b00409b3692f3df82af1c71 (diff)
downloadgo-ffd096db2b1cff6399eb1f86e5652564ee8ee362.tar.xz
doc: don't use "go tool vet" as an example
Fixes #30199 Change-Id: Ib4586e3facb8c0985c8882482d94843b648b9d2f Reviewed-on: https://go-review.googlesource.com/c/162257 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'doc/install-source.html')
-rw-r--r--doc/install-source.html20
1 files changed, 1 insertions, 19 deletions
diff --git a/doc/install-source.html b/doc/install-source.html
index 6d416d33f1..bbe7cdfd00 100644
--- a/doc/install-source.html
+++ b/doc/install-source.html
@@ -349,15 +349,7 @@ provides <b>essential setup instructions</b> for using the Go tools.
<p>
The source code for several Go tools (including <a href="/cmd/godoc/">godoc</a>)
is kept in <a href="https://golang.org/x/tools">the go.tools repository</a>.
-To install all of them, run the <code>go</code> <code>get</code> command:
-</p>
-
-<pre>
-$ go get golang.org/x/tools/cmd/...
-</pre>
-
-<p>
-Or if you just want to install a specific command (<code>godoc</code> in this case):
+To install one of the tools (<code>godoc</code> in this case):
</p>
<pre>
@@ -374,16 +366,6 @@ You must also have a workspace (<code>GOPATH</code>) set up;
see <a href="/doc/code.html">How to Write Go Code</a> for the details.
</p>
-<p>
-<b>Note</b>: The <code>go</code> command will install the <code>godoc</code>
-binary to <code>$GOROOT/bin</code> (or <code>$GOBIN</code>) and the
-<code>cover</code> and <code>vet</code> binaries to
-<code>$GOROOT/pkg/tool/$GOOS_$GOARCH</code>.
-You can access the latter commands with
-"<code>go</code> <code>tool</code> <code>cover</code>" and
-"<code>go</code> <code>tool</code> <code>vet</code>".
-</p>
-
<h2 id="community">Community resources</h2>
<p>