Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: linter that validates pools are waited on #138

Open
torkelrogstad opened this issue Aug 16, 2024 · 0 comments
Open

Request: linter that validates pools are waited on #138

torkelrogstad opened this issue Aug 16, 2024 · 0 comments

Comments

@torkelrogstad
Copy link

A common problem I have with the different flavors of pools is that I forget to wait for the result. This problem is conceptually similar to how zerolog requires you to remember to call Msg{f} on the log event for it to be effectuated.

In the case of zerolog, this is solved by zerologlint. This is further bundled by golangci-lint, which makes it really easy to verify I remember to call the appropriate methods.

It would be fantastic if we had something similar for this module!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant