From: Andrew Date: Mon, 25 Feb 2019 19:13:57 +0000 (+0000) Subject: doc/go1.12: change go install to go get X-Git-Tag: go1.13beta1~1426 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2f9728aacdf90d21a530f68c6887cfe545954935;p=gostls13.git 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 --- 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 go vet. Checking for variable shadowing may now be done using
-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)
 

@@ -121,7 +121,7 @@ The Go tour is no longer included in the main binary distribution. To run the tour locally, instead of running go tool tour, manually install it:
-go install golang.org/x/tour
+go get -u golang.org/x/tour
 tour