Have you looked into the go doc and godoc commands?
If this is a proposal, it should propose something more specific. For example, adding JSON output to eithere of those tools (assuming there isn't yet such a feature) could be a proposal.
Start with go list std (look at go help list for formatting info). Then feed that to go doc / godoc / go/doc or something else custom to match your exact needs.
pjebs commentedMar 15, 2018
•
edited
Is there some way to get all the packages and subpackages in the standard library, and all the structs inside those packages?
Something like what: https://golang.org/pkg/ outputs, but in a parseable format such as json
The text was updated successfully, but these errors were encountered: