From 5a40697724fcb2cf4d6a48f37d24a848e1c1075b Mon Sep 17 00:00:00 2001 From: emahiro Date: Sat, 23 Oct 2021 02:14:50 +0900 Subject: [PATCH] tools/gopls: use `go install` instead of `go get` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: golang/go#49114 Change-Id: I39c5bee4168862af2aa5a29a96d45cad3e0dd9f1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/358074 Reviewed-by: Robert Findley Reviewed-by: Nooras Saba‎ Trust: Robert Findley Trust: Peter Weinberger Run-TryBot: Robert Findley gopls-CI: kokoro --- gopls/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gopls/README.md b/gopls/README.md index df7add0880..c2505e8601 100644 --- a/gopls/README.md +++ b/gopls/README.md @@ -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