didi/gendry
a golang library for sql builder observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 11
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3197
- days_rel: n/a
- days_push: 539
- n_releases_24m: 0
Adoption not part of the score
1635 stars · 195 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Gendry is a Go library for working with MySQL databases, built on go-sql-driver/mysql. It provides three composable parts—manager for building connection DSNs, builder for programmatically constructing SQL queries, and scanner for mapping query results into structs—without being a full ORM.
Use cases
- build SQL queries programmatically in Go
- initialize MySQL connection pools with driver options
- scan database rows into Go structs
- generate WHERE IN clauses with large element sets
- avoid heavyweight ORMs while still avoiding hand-written SQL
- manage database/sql dataSourceName configuration
When to choose
- you use MySQL with Go's database/sql and want safer, maintainable query construction
- you dislike ORMs but want help building SQL and scanning results
- you need fine control over driver parameters like charset, timeouts, and interpolateParams
When to avoid
- you need a full ORM with migrations, relations, and model management
- you use a database other than MySQL
- you want schema-first code generation for complex object graphs
Facets
library · maturity stable
database-driver orm databases backend developer-tools go windows sql-builder mysql query-builder scanner database/sql linux macos
1 source
- readme: https://github.com/didi/gendry · fetched 2026-08-28 · a2f6691d8fd5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| didi/gendry | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem