module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 29, 2020
License: MIT
Opens a new window with license information.
README
¶
sqlclosecheck

Linter that checks if SQL rows/statements are closed. Unclosed rows and statements may
cause DB connection pool exhaustion.
Running
make build
make install
In your project directory:
go vet -vettool=$(which sqlclosecheck) ./...
Roadmap
Get linter working
Added some basic test cases
- Require that Close deferred
- Test across a bunch of projects
- Introduce linter to golangci-lint.
Click to show internal directories.
Click to hide internal directories.