go-gorp/gorp
Go Relational Persistence - an ORM-ish library for Go observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5355
- days_rel: n/a
- days_push: 652
- n_releases_24m: 0
Adoption not part of the score
3747 stars · 381 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
gorp is a Go library that maps Go structs to relational database tables, generating insert/update/delete SQL and binding query results back to structs. It is a lightweight 'ORM-ish' layer over database/sql that reduces boilerplate without full object-relational mapping.
Use cases
- map Go structs to database tables without writing CRUD SQL
- run transactions with rollback support in Go
- load SELECT query results directly into struct slices
- forward-engineer a database schema from structs for unit tests
- add optimistic locking with a version column
- hook pre/post insert, update, and delete logic
When to choose
- you use database/sql and want less boilerplate without a full ORM
- you want explicit control over SQL while getting struct binding for free
- you need simple transactions, hooks, and optimistic locking in Go
When to avoid
- you need relationship/association management between entities
- you want automatic migrations or a rich query DSL
- you need a very actively developed project with frequent releases
Facets
library · maturity maintenance
orm database database-driver databases backend developer-tools go cross-platform sql struct-mapping transactions relational-database
1 source
- readme: https://github.com/go-gorp/gorp · fetched 2026-08-28 · fcb9d2b08a67
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-gorp/gorp | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem