aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew <andybons@golang.org>2019-02-25 19:13:57 +0000
committerAndrew Bonventre <andybons@golang.org>2019-02-25 19:42:21 +0000
commit6ae7c0bc6d1e81c2631043b5883c8df13d1a49ff (patch)
tree2a1b1074b0e719e2e6f5e3331cf5560c5852f1fe
parentefc6d86965a21def9afcec65d3c96486667949ad (diff)
downloadgo-6ae7c0bc6d1e81c2631043b5883c8df13d1a49ff.tar.gz
go-6ae7c0bc6d1e81c2631043b5883c8df13d1a49ff.zip
[release-branch.go1.12] doc/go1.12: change go install to go get
Using go get prevents the failure case of when the user doesn't have the repo on their machine. Change-Id: I9c1174087728b5b06b578b0d52df6eeb7e8c7a3c Reviewed-on: https://go-review.googlesource.com/c/163718 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> (cherry picked from commit 2f9728aacdf90d21a530f68c6887cfe545954935) Reviewed-on: https://go-review.googlesource.com/c/163719 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--doc/go1.12.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go1.12.html b/doc/go1.12.html
index 1b937fdd79..0c6463a04d 100644
--- a/doc/go1.12.html
+++ b/doc/go1.12.html
@@ -109,7 +109,7 @@ Do not send CLs removing the interior tags from such phrases.
is no longer available with <code>go vet</code>. Checking for
variable shadowing may now be done using
<pre>
-go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
+go get -u golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
go vet -vettool=$(which shadow)
</pre>
</p>
@@ -121,7 +121,7 @@ The Go tour is no longer included in the main binary distribution. To
run the tour locally, instead of running <code>go</code> <code>tool</code> <code>tour</code>,
manually install it:
<pre>
-go install golang.org/x/tour
+go get -u golang.org/x/tour
tour
</pre>
</p>