ci: lint using golangci-lint
Run golangci-lint
in GitLab CI with the following presets:
- bugs
- comment
- complexity
- error
- format
- performance
- test
And the following checks disabled:
- exhaustruct
- gosec
Refactor code to pass linter.
Related-to: #11 (closed)
Closes: #16 (closed)
Edited by Kirill Morozov