usage: gofumpt [flags] [path ...] -version show version and exit -d display diffs instead of rewriting files -e report all errors (not just the first 10 on different lines) -l list files whose formatting differs from gofumpt's -w write result to (source) file instead of stdout -extra enable extra rules, e.g. -extra=group_params,clothe_returns -lang str target Go version in the form "go1.X" (default from go.mod) -modpath str Go module path containing the source file (default from go.mod)