# A linter I really recommend you to use if you're doing SQL in Golang

DevFeed: [A linter I really recommend you to use if you're doing SQL in Golang](<https://devfeed.tech/articles/a-linter-i-really-recommend-you-to-use-if-you-re-doing-sql-in-golang-5876.md>)

Original publisher: [Read original article](<https://turso.tech/blog/a-linter-i-really-recommend-you-to-use-if-youre-doing-sql-in-golang-ab9fcf5b561f>)

Author: Piotr Jastrzebski

Published: 2023-08-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [ci](<https://devfeed.tech/topics/ci.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Deadlock](<https://devfeed.tech/topics/deadlock.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [also](<https://devfeed.tech/tags/also.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [deadlock](<https://devfeed.tech/tags/deadlock.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [golang](<https://devfeed.tech/tags/golang.md>), [sql](<https://devfeed.tech/tags/sql.md>), [turso](<https://devfeed.tech/tags/turso.md>)

## AI overview

This final article in a series about resource leaks in SQL databases with Golang explains how to use the sqlclosecheck linter to detect database resources that are not closed. It demonstrates local usage and integration with GitHub Actions and golangci-lint so the check can run automatically.

## Source excerpt

This is a final article of my mini series about the topic of leaking resources when using SQL databases in Golang. The whole series consists of three parts