1
0
mirror of https://github.com/golang/go synced 2024-11-18 08:54:45 -07:00
go/internal/span
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
..
parse.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
span_test.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
span.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
token111.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token112.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token_test.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
token.go internal/span: switch to an offset function that doesn't panic 2019-03-27 01:14:46 +00:00
uri_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
uri.go internal/lsp: unescape uris before we convert them to span.URI 2019-03-27 16:50:41 +00:00
utf16_test.go internal/span: change to private fields 2019-03-15 18:05:47 +00:00
utf16.go go/packages: add support for entire packages defined in overlays 2019-04-17 17:55:51 +00:00