Skip to content

Proposal: cmd/go: parallel execution of //go:generate #20520

Closed
@tejasmanohar

Description

@tejasmanohar

This is a proposal to add a -parallel <n> flag to go generate that runs //go:generate commands concurrently.

If -paralell is provided without a number, concurrency would be unbounded. If parallel is provided with an integer , that would be the max concurrent procs. If -parallel is not supplied, //go:generate commands are run serially as they are now.

If there's mutual interest, I can submit code for review, but I wanted to get feedback first.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions