go-reform/reform
A better ORM for Go, based on non-empty interfaces and code generation. observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 57
- Release rhythm 8
- Longevity 100
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: 3842
- days_rel: n/a
- days_push: 261
- n_releases_24m: 0
Adoption not part of the score
1458 stars · 74 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Reform is a type-safe ORM for Go built on database/sql, using non-empty interfaces, code generation, and initialization-time reflection instead of runtime reflection and interface{}. It supports PostgreSQL, MySQL, SQLite3, and Microsoft SQL Server.
Use cases
- map Go structs to SQL database tables
- type-safe database queries in Go without runtime reflection
- work with PostgreSQL, MySQL, SQLite, or SQL Server from Go
- generate ORM model code with go generate
- CRUD operations over database/sql
When to choose
- you want a simple, type-safe ORM layered on database/sql
- you prefer code generation over runtime reflection
- you need support for multiple SQL dialects including SQL Server
When to avoid
- you need advanced ORM features like complex associations or migrations
- you prefer query builders or raw SQL without code generation
- you need a heavily maintained project with frequent updates
Facets
library · maturity maintenance
orm database database-driver serialization databases backend web-development developer-tools go windows cross-platform sql code-generation postgresql mysql sqlite3 sql-server database-sql type-safe linux macos
2 sources
- readme: https://github.com/go-reform/reform · fetched 2026-08-28 · d3a0be6dccfa
- homepage: https://gopkg.in/reform.v1 · fetched 2026-08-29 · 87ea8c84ee1a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-reform/reform | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="go-reform/reform")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem