mirror of https://github.com/golang/go.git
gopls/doc: add information about supported Go versions
Fixes golang/go#39146 Change-Id: I89c2883d8e2d9e97e7b5212e61d54fc03e1c2298 Reviewed-on: https://go-review.googlesource.com/c/tools/+/253281 Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
parent
a4118eb6f6
commit
12e1bf57a1
|
|
@ -43,7 +43,9 @@ If you see this error:
|
|||
$ go get golang.org/x/tools/gopls@latest
|
||||
go: cannot use path@version syntax in GOPATH mode
|
||||
```
|
||||
|
||||
then run
|
||||
|
||||
```sh
|
||||
GO111MODULE=on go get golang.org/x/tools/gopls@latest
|
||||
```
|
||||
|
|
@ -56,12 +58,20 @@ with `@master` could fail. To actually update your `gopls` to the
|
|||
latest **unstable** version, use:
|
||||
|
||||
```sh
|
||||
$ go get golang.org/x/tools/gopls@master golang.org/x/tools@master
|
||||
go get golang.org/x/tools/gopls@master golang.org/x/tools@master
|
||||
```
|
||||
|
||||
In general, you should use `@latest` instead, to prevent frequent
|
||||
breakages.
|
||||
|
||||
### Supported Go versions
|
||||
|
||||
`gopls` follows the
|
||||
[Go Release Policy](https://golang.org/doc/devel/release.html#policy),
|
||||
meaning that it officially supports the last 2 major Go releases. We run CI to
|
||||
verify that the `gopls` tests pass for the last 4 major Go releases, but do not
|
||||
prioritize issues only affecting legacy Go release (3 or 4 releases ago).
|
||||
|
||||
## Configurations
|
||||
|
||||
### Environment variables
|
||||
|
|
|
|||
Loading…
Reference in New Issue