mirror of
https://github.com/golang/go
synced 2024-09-30 20:18:33 -06:00
59731289e9
Include the context when invoking go/packages.Load so it is cancelable. Otherwise if the user is manually typing an import or otherwise messing around with imports, a big queue of potentially very slow go/packages.Load calls will build up. Fixes golang/go#34414. Change-Id: I80732086b478b908c720739708dd773e81fe2b81 Reviewed-on: https://go-review.googlesource.com/c/tools/+/200058 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
module | ||
semver | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
txtar | ||
xcontext |