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
hugeParam
.golangci.yaml
hugeParam: logger is heavy (112 bytes); consider passing it by pointer (gocritic)
zerolog.Logger
The text was updated successfully, but these errors were encountered:
Perhaps you can consider increasing the size threshold a bit instead? Something lint 160 could work for your case.
Sorry, something went wrong.
@quasilyte thx for your reply. threshold can be another solution, but it'll be great if it can be controlled by each structs! thx.
No branches or pull requests
What?
hugeParam
checking for some structs..golangci.yaml
Why?
hugeParam: logger is heavy (112 bytes); consider passing it by pointer (gocritic)
is not proper for all cases.hugeParam
's condition.zerolog.Logger
is huge param, but the library says it should be passed as struct, not pointer.The text was updated successfully, but these errors were encountered: