mirror of https://github.com/golang/go.git
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:
parent
bcc6fa839d
commit
5a40697724
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue