main
fix: enable errorlint in api, client and pkg
fix: use testify instead of t.Fatal or t.Error in client package (part 1)