aboutsummaryrefslogtreecommitdiff
path: root/go/packages/loadmode_string.go
AgeCommit message (Collapse)Author
2022-03-25go/packages: rename NeedExportsFile to NeedExportFileRuss Cox
I'm going to use NeedExportFile in the go/gcexportdata example, and we might as well start with the correct spelling. Leave behind a deprecated alias to preserve compatibility. Change-Id: Id26e5db58cb59a01ed7904ab801a894ea76edd9e Reviewed-on: https://go-review.googlesource.com/c/tools/+/310509 Reviewed-by: Austin Clements <austin@google.com> Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Auto-Submit: Russ Cox <rsc@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
2020-04-03internal/lsp, go/packages: don't log context cancellation errorsRebecca Stambler
Instead of checking the context, check the error. This may expose some errors that are not wrapped correctly. Replaced all uses of errors with golang.org/x/xerrors. Change-Id: Ia40160f8ea352e02618765f2a9415a4ece0dcd94 Reviewed-on: https://go-review.googlesource.com/c/tools/+/227036 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
2019-11-18go/packages: add String methods for LoadModeJeff Hodges
This String method makes it easier to debug GOPACKAGESDRIVER code and identify LoadModes in use. Change-Id: I80bf434fc007470b437fb5cf667254737c3a814f Reviewed-on: https://go-review.googlesource.com/c/tools/+/200539 Reviewed-by: Michael Matloob <matloob@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>