Enable golangci-lint errorlint linter to check proper use of errors.Is and error.As instead of direct comparison or error type casting.
remove all the subpackages and just use a single package