Closed
Description
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.