go-list
List packages or modules. tldr-pages
On several platforms
Several platforms
List packages or modules. Note: ./... is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
List packages
go list ./...IdentifyList standard packages
go list stdIdentifyList packages in JSON format
go list -json time net/httpIdentifyList module dependencies and available updates
go list -m -u allIdentify