Closed avrodrigues5 closed 4 months ago
Fixes some golangci-lint complains
No
None as minor changes on error checking while binding pflag to viper, using io.ReadAll instead of ioutil.ReadAll[DEPRECATED]
Closes #28
None
Tested it in audit mode, most significant change was the io/util ReadAll function to io.ReadAll and worked fine! Then Ran golangci-lint locally.
What does this PR change?
Fixes some golangci-lint complains
Does this PR rely on any other PRs?
No
How does this PR impact users?
None as minor changes on error checking while binding pflag to viper, using io.ReadAll instead of ioutil.ReadAll[DEPRECATED]
Links to Issues or tickets this PR addresses or fixes
Closes #28
What risks are associated with merging this PR? What is required to fully test this PR?
None
How was this PR tested?
Tested it in audit mode, most significant change was the io/util ReadAll function to io.ReadAll and worked fine! Then Ran golangci-lint locally.