-
Notifications
You must be signed in to change notification settings - Fork 614
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
help: lint tool suggestion #294
Comments
govet has an unusedresult check. https://golangci-lint.run/usage/linters#govet |
thanks for your reply. the document is to simple to understand, do your have a config template ? lint:
govet:
settings:
unusedresult:
stringmethods:
- (github.com/shopspring/decimal.Decimal).Sub |
@ppd0705 that looks like the funcs formate, stringmethods should just be lint:
govet:
settings:
unusedresult:
funcs:
- (github.com/shopspring/decimal.Decimal).Sub
stringmethods:
- Sub |
@xiegeo it doesn't work either |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I make a same stupid error many times. the error is like the code below
I often forget
a =
. is there any lint tool for this situation ?The text was updated successfully, but these errors were encountered: