mirror of
https://github.com/golang/go
synced 2024-11-18 18:14:43 -07:00
7b79afddac
This change adds a Package interface to the source package, which allows us to reduce the information cached per-package (we don't use any of the unnecessary fields in a *go/packages.Package). This change also adds an analysis cache for each package, which is used to cache the results of analyses to avoid recomputation. Change-Id: I56c6b5ed51126c27f46731c87ac4eeacc63cb81a Reviewed-on: https://go-review.googlesource.com/c/tools/+/165750 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
cache | ||
cmd | ||
diff | ||
protocol | ||
source | ||
testdata | ||
completion.go | ||
diagnostics.go | ||
format.go | ||
imports.go | ||
lsp110_test.go | ||
lsp_test.go | ||
position.go | ||
server.go | ||
signature_help.go |