4 ms·
> Great points! Any hints regarding preexisting linters for go code that errors if we execute outside (an already opened) db transaction? I'm limiting the open
by marvinblum 6y ago
> Great points! Any hints regarding preexisting linters for go code that errors if we execute outside (an already opened) db transaction?
I'm limiting the open connections at the moment and using the default Goland linter. It won't show you these kind of errors though and I just remembered that I saw it somewhere else, but I don't remember where it was :D
- morelisp 6y agoYou might be thinking of https://github.com/ryanrolds/sqlclosecheck https://github.com/ryanrolds/sqlclosecheck but it will only catch leaks, not deadlocks.