Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As golint is now deprecated, this patch proposes to switch to staticcheck [0] as an alternative, in addition to `go vet`. This patch contains fixes addressing the linter's reported issues, with two added exceptions : - The MemoryStats deprectated fields are still for us to update - In `gen_encoding.go` we need to add an extra comment to account for the unused variable. This is probably worth addressing in another patch to not generate a variable we don't use. [0] https://staticcheck.io/ Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com> Change-Id: I0562f290fb908bc610c44d675e21e466d0badc27
- Loading branch information
Showing
42 changed files
with
281 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.