Emit package metadata for scripts and tooling.
Section: Documentation and Listing
List package metadata JSON
bash
bash
go list -json ./...Explanation
Emit package metadata for scripts and tooling. Useful in Go CLI workflows.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Documentation and Listing