Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run gofumpt via go tool in dprint #586

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

jakebailey
Copy link
Member

This is a lot slower; go tool is faster than go run from 1.23, but still a lot slower than a plain binary. But, this doesn't require any global installs of gofumpt to run dprint. Given the recommendation is to configure gopls to run gofumpt instead, and dprint does cache things, it seems like this isn't such a bad tradeoff to avoid dprint fmt failing unexpectedly for those using that CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant