From 44811c0174895e13ada67eafee7eeeaa2be78022 Mon Sep 17 00:00:00 2001 From: Daniel Cormier Date: Thu, 12 Sep 2019 12:33:30 +0000 Subject: [PATCH] Fixed documentation for gopls installation Fixes this problem when trying to use the documented installation command: ``` $ GO111MODULE=on go get golang.org/x/tools gopls@latest go: finding golang.org/x/tools latest go: downloading golang.org/x/tools v0.0.0-20190911230505-6bfd74cf029c go: extracting golang.org/x/tools v0.0.0-20190911230505-6bfd74cf029c go get gopls@latest: malformed module path "gopls": missing dot in first path element ``` Change-Id: Ifdd13ec85eca5a069c17ae89486efe1abf4016f4 GitHub-Last-Rev: a4ddc02e3b8e6ccce12dfa711a8e7af5edb1302c GitHub-Pull-Request: golang/tools#158 Reviewed-on: https://go-review.googlesource.com/c/tools/+/195037 Reviewed-by: Ian Cottrell --- gopls/doc/user.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gopls/doc/user.md b/gopls/doc/user.md index 7f7ea070cc..e564b8ccd4 100644 --- a/gopls/doc/user.md +++ b/gopls/doc/user.md @@ -34,7 +34,7 @@ go: cannot use path@version syntax in GOPATH mode ``` then run ```sh -GO111MODULE=on go get golang.org/x/tools gopls@latest +GO111MODULE=on go get golang.org/x/tools/gopls@latest ```