sqlvet VS go-ruleguard

Compare sqlvet vs go-ruleguard and see what are their differences.


Go fearless SQL. Sqlvet performs static analysis on raw SQL queries in your Go code base. (by houqp)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
sqlvet go-ruleguard
1 1
485 761
- -
3.6 6.0
15 days ago 19 days ago
Go Go
MIT License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of sqlvet. We have used some of these posts to build our list of alternatives and similar projects.
  • Enabling static analysis of SQL queries at Meta
    1 project | /r/programming | 6 Feb 2023
    I found a linter in go for sql https://github.com/houqp/sqlvet that uses the postgres front end to evaluate queries for syntactic errors and potential sql injection a while back and I now find even more confidence in my opinion that ORM is a waste of time.


Posts with mentions or reviews of go-ruleguard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-26.

What are some alternatives?

When comparing sqlvet and go-ruleguard you can also consider the following projects:

go-ssaviz - Visualize Go SSA function using Graphviz

semgrep-rules-manager - Manager of third-party sources of Semgrep rules 🗂

gosec - Go security checker

looppointer - An analyzer that checks for pointers to enclosing loop variables.

gochk - Static Dependency Analysis Tool for Go Files


smrcptr - detect mixing pointer and value method receivers

Chronos - Chronos - A static race detector for the go language

nilnil - The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.

codeql - CodeQL workshops for GitHub Universe

testifylint - The Golang linter that checks usage of github.com/stretchr/testify.

go-mnd - Magic number detector for Go.