diff --git a/gopls/doc/user.md b/gopls/doc/user.md index 846503a05d..db10c2d062 100644 --- a/gopls/doc/user.md +++ b/gopls/doc/user.md @@ -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