go/cmd/godoc
Robert Findley 235b13d9b8 cmd/godoc: remove usage of golang.org/x/xerrors
Go 1.12 has not been supported for a while, so it seems safe to replace
usage of xerrors with the native support for wrapped errors in the
standard library introduced in Go 1.13. Remove this usage as a step
toward eliminating the xerrors dependency from x/tools.

If there is any reason to continue to use xerrors, please let me know.

For golang/go#52442

Change-Id: Ic1e5c14f4074b4685a926e884649b9032aaa0f53
Reviewed-on: https://go-review.googlesource.com/c/tools/+/401098
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 16:11:05 +00:00
..
doc.go cmd: gofmt 2022-04-12 17:38:38 +00:00
godoc_test.go godoc/analysis: remove deprecated analysis package 2021-10-29 00:04:41 +00:00
goroot.go all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
handlers.go playground: remove /share registration, add Proxy 2021-02-25 15:03:53 +00:00
main.go cmd/godoc: remove usage of golang.org/x/xerrors 2022-04-20 16:11:05 +00:00