FindSoftware

goqu

Go SQL builder and executor with an expressive query DSL that generates SQL for several database dialects.

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

Current major version
97
Last release
2026-11-057

Adoption

GitHub stars
2,6752
Contributors
558

Why these figures do not compare

Sources

  1. 2026-11-09: links
    doug-martin.github.io/goqu/
  2. 2026-11-09: links, Written in, License, GitHub stars
    api.github.com/repos/doug-martin/goqu
  3. 2026-11-09: links, Categories, Runtime, Install with
    github.com/doug-martin/goqu/blob/master/README.md
  4. 2026-11-09: Maintainer
    github.com/doug-martin/goqu/blob/master/LICENSE
  5. 2026-11-09: Databases
    github.com/doug-martin/goqu/blob/master/docs/dialect.md
  6. 2026-11-09: First release
    api.github.com/repos/doug-martin/goqu/tags
  7. 2026-11-09: Current major version, Last release
    api.github.com/repos/doug-martin/goqu/releases
  8. 2026-11-09: Contributors
    api.github.com/repos/doug-martin/goqu/contributors?per_page=1

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON