updated golangci-lint
and fixed errors in the code
#1231
Merged
golangci-lint
and fixed errors in the code
#1231