1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:04:42 -07:00

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 <iancottrell@google.com>
This commit is contained in:
Daniel Cormier 2019-09-12 12:33:30 +00:00 committed by Ian Cottrell
parent 6bfd74cf02
commit 44811c0174

View File

@ -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
```