We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
now gofmt lint only support simplify, and gofmt support rewrite rule, proposal adding rewrite support to golangci's gofmt.
gofmt
we can use it with -r 'interface{} -> any'
-r 'interface{} -> any'
add a RunRewrite in golangci/gofmt
RunRewrite
add a []string options to gofmt, and apply a set of replace rules on file.
[]string
Not yet
No response
The text was updated successfully, but these errors were encountered:
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Your feature request related to a problem? Please describe.
now gofmt lint only support simplify, and
gofmt
support rewrite rule, proposal adding rewrite support to golangci's gofmt.we can use it with
-r 'interface{} -> any'
Describe the solution you'd like.
add a
RunRewrite
in golangci/gofmtadd a
[]string
options to gofmt, and apply a set of replace rules on file.Describe alternatives you've considered.
Not yet
Additional context.
No response
The text was updated successfully, but these errors were encountered: