goqu
Go SQL builder and executor with an expressive query DSL that generates SQL for several database dialects.
doug-martin.github.io/goqu/repositorydocs
goqu is a Go SQL builder that builds SELECT, INSERT, UPDATE and DELETE statements from a query DSL and can execute them. Each database has a dialect that the program imports to register it, and the dialect controls the SQL a dataset generates; a package-level default dialect can be set once at startup. The dialects that ship with goqu cover MySQL, PostgreSQL, SQLite and SQL Server.
Worth knowing
The README says goqu is not intended to be used as an ORM when a program needs associations or hooks, and it points to ORM libraries for those features.
Identity
- Status
- Active
- Maintainer
- Doug Martin4
- Maintained by
- Individual
- First release
- 20156
Rendering and deploy
- Install with
- go modules3
Releases
Adoption
Sources
- 2026-11-09: links
doug-martin.github.io/goqu/ - 2026-11-09: links, Written in, License, GitHub stars
api.github.com/repos/doug-martin/goqu - 2026-11-09: links, Categories, Runtime, Install with
github.com/doug-martin/goqu/blob/master/README.md - 2026-11-09: Maintainer
github.com/doug-martin/goqu/blob/master/LICENSE - 2026-11-09: Databases
github.com/doug-martin/goqu/blob/master/docs/dialect.md - 2026-11-09: First release
api.github.com/repos/doug-martin/goqu/tags - 2026-11-09: Current major version, Last release
api.github.com/repos/doug-martin/goqu/releases - 2026-11-09: Contributors
api.github.com/repos/doug-martin/goqu/contributors?per_page=1