Commit 2f9728aa authored by Andrew's avatar Andrew Committed by Andrew Bonventre

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/163718Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 2d347404
...@@ -109,7 +109,7 @@ Do not send CLs removing the interior tags from such phrases. ...@@ -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 is no longer available with <code>go vet</code>. Checking for
variable shadowing may now be done using variable shadowing may now be done using
<pre> <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) go vet -vettool=$(which shadow)
</pre> </pre>
</p> </p>
...@@ -121,7 +121,7 @@ The Go tour is no longer included in the main binary distribution. To ...@@ -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>, run the tour locally, instead of running <code>go</code> <code>tool</code> <code>tour</code>,
manually install it: manually install it:
<pre> <pre>
go install golang.org/x/tour go get -u golang.org/x/tour
tour tour
</pre> </pre>
</p> </p>
......
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