tools/gopls: use `go install` instead of `go get`

Fixes: golang/go#49114
Change-Id: I39c5bee4168862af2aa5a29a96d45cad3e0dd9f1
Reviewed-on: https://go-review.googlesource.com/c/tools/+/358074
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Nooras Saba‎ <saba@golang.org>
Trust: Robert Findley <rfindley@google.com>
Trust: Peter Weinberger <pjw@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
This commit is contained in:
emahiro 2021-10-23 02:14:50 +09:00 committed by Robert Findley
parent bcc6fa839d
commit 5a40697724
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ directory that is both outside of your `GOPATH` and outside of a module (a temp
directory is fine), and run:
```sh
GO111MODULE=on go get golang.org/x/tools/gopls@latest
go install golang.org/x/tools/gopls@latest
```
**NOTE**: Do not use the `-u` flag, as it will update your dependencies to