Open adonovan opened 9 months ago
Change https://go.dev/cl/565477 mentions this issue: go/packages/gopackages: display module
Change https://go.dev/cl/565475 mentions this issue: gopls/internal/cache: fix two bugs related to workspace packages
Change https://go.dev/cl/565457 mentions this issue: [gopls-release-branch.0.15] gopls/internal/cache: fix two bugs related to workspace packages
Change https://go.dev/cl/588141 mentions this issue: go/packages: document fields that are part of JSON schema
The gopackages command (patched as shown at the end) displays the module of each package:
But for standard packages and tools, it shows nothing:
This seems like a bug. Even if "go list" doesn't report Module information for standard packages, go/packages should probably synthesize something. Either way, it should document what it actually does.