cmd/doc: support custom output format #41744
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?1.15.2
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?darwin/amd64
What did you do?
I am using
go doc
to automatically generate static documentation for internal repositories.What did you expect to see?
A way to provide a text/template to control the output format or, alternatively, a way to output the data in a standard machine-parseable format (e.g. json, yaml, ...) that I can use to drive custom output generation.
What did you see instead?
go doc
does only provide a single format for direct human consumption.The text was updated successfully, but these errors were encountered: