go/internal/lsp/lsprpc
Robert Findley 37590b385d gopls: remove usage of golang.org/x/xerrors
As of golang/go#50827, gopls no longer supports building at 1.12, and so
usage of golang.org/x/xerrors can be replaced with the native support for
error wrapping introduced in Go 1.13.

Remove this usage as a step toward eliminating the xerrors dependency
from x/tools.

For golang/go#52442

Change-Id: Ibf459cc72402a30a6c2735dc620f76ed8a5e2525
Reviewed-on: https://go-review.googlesource.com/c/tools/+/401097
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-04-20 15:33:22 +00:00
..
autostart_default.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
autostart_posix.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
binder.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
binder_test.go internal/lsp/lsprpc: use middleware for the V2 handshaking 2021-07-02 16:14:25 +00:00
commandinterceptor.go internal/lsp/lsprpc: add a CommandInterceptor middleware 2021-07-02 16:14:40 +00:00
commandinterceptor_test.go internal/lsp/lsprpc: add a CommandInterceptor middleware 2021-07-02 16:14:40 +00:00
dialer.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
goenv.go internal/lsp/lsprpc: only propagate explicit GOWORK when using remote 2022-04-01 20:25:27 +00:00
goenv_test.go internal/lsp/lsprpc: add a goenv middleware 2021-07-02 16:14:50 +00:00
lsprpc.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
lsprpc_test.go internal/lsp: update LSP stubs, including provisional InlayHints 2022-03-16 22:16:36 +00:00
middleware.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
middleware_test.go internal/lsp/lsprpc: use middleware for the V2 handshaking 2021-07-02 16:14:25 +00:00