1
0
mirror of https://github.com/golang/go synced 2024-11-05 19:56:11 -07:00
go/internal/lsp/cache
Rebecca Stambler aa385af2d9 go/packages: add support for entire packages defined in overlays
This change adds support in go/packages for defining an entire package
in an overlay. We also add corresponding tests for this in gopls, to
confirm that it works as expected.

Fixes golang/go#31467

Change-Id: Iead203ab2964a7ac4f571be97624b725ac5de7e0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/172409
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-04-17 17:55:51 +00:00
..
check.go internal/lsp: cache file objects for every dependency 2019-04-01 16:39:57 +00:00
file.go go/packages: add support for entire packages defined in overlays 2019-04-17 17:55:51 +00:00
pkg.go internal/lsp: use new go/packages LoadMode to get TypesSizes 2019-03-29 21:52:04 +00:00
view.go internal/lsp: avoid extra work in *cache.View.remove 2019-04-01 20:55:34 +00:00