x/tools/gopls: create a go list
GOPACKAGESDRIVER for testing
#67615
Labels
Milestone
go list
GOPACKAGESDRIVER for testing
#67615
We lack testing for GOPACKAGESDRIVER in gopls, and while we say it is "unsupported", it technically works, and we have a small yet growing user base on bazel or other alternative build systems.
I think we should clarify our level of support for GOPACKAGESDRIVER, and probably commit to some level of basic support.
As a starting point for investigating driver support and fixing bugs, we need a better way to test. We should write a GOPACKAGESDRIVER that simply delegates to
go list
behind the driver protocol. Unfortunately, currentgo list
support in go/packages has special handling, and does not align perfectly with the driver protocol, so this is not a small amount of work.CC @adonovan
The text was updated successfully, but these errors were encountered: