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.
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 docto 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 docdoes only provide a single format for direct human consumption.