fixed https://github.com/polyfloyd/go-errorlint linting
Fixes Or Enhances
Fixes some go-errorlint linting errors that's part of actual code #734
There are also bunch of linting errors that are in testing files (most are in validator_test.go) but I felt there was no need to pollute this PR with 50+ changes when this wasn't really causing any problems anyways.
Make sure that you've checked the boxes below before you submit PR:
- [*] (/) Tests exist or have been written that cover this particular change.
@go-playground/validator-maintainers
coverage: 74.331% (+0.01%) from 74.318% when pulling ed9c790fea8ae5fed142ad35b5682bdc404c3c41 on alecbakholdin:master into 6c3307e6c64040ebc0efffe9366927c68146ffba on go-playground:master.
@alecbakholdin Could you specify which go-errorlint linting errors you addressed in this PR?