derision-test / go-mockgen

MIT License
57 stars 7 forks source link

Feature request: let the user set an arbitrary formatter #44

Open treyburn opened 1 year ago

treyburn commented 1 year ago

It would be wonderful to let the user bring their own formatter.

In my particular use case, I want to use gofumpt over goimports but I can see also usage where a user wants to bring their own proprietary formatter.

It'd be great to see a --custom-formatter flag to reference the path to the formatters binary along with a --formatter-args flag to let the user pass in optional args for their customer formatter.