Skip to content

cmd/doc: support custom output format #41744

Description

@CAFxX

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions