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
Fix some lint checks by (go) staticcheck ./... #1442
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. A few changes though.
Would you mind adding the entire output of staticcheck as comment just for reference? |
Before PR
After
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last nit.
|
Okay that was missed out of the comment above. Yeah sure add the Quick thing though, please don't force push as it messes up our ability to review PRs. Just add new commits to the branch. |
Some warn about deprecation. PR #1445 already refactored out deprecated ioutil package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Minimally invasive, identical behaviour.
Some warn about deprecation.
There are a few more which require some more thought.