go-gorm/gorm
The fantastic ORM library for Golang, aims to be developer friendly observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 89
- Release rhythm 90
- 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: 14.5
- age_days: 4695
- days_rel: 69
- days_push: 69
- n_releases_24m: 11
Adoption not part of the score
39930 stars · 4175 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
GORM is a full-featured, developer-friendly ORM library for Go that maps Go structs to database tables. It supports associations, transactions, eager loading, auto migrations, hooks, and an extensible plugin API with official drivers for multiple databases.
Use cases
- map Go structs to database tables with an ORM
- run CRUD queries in Go without writing raw SQL
- manage database transactions and savepoints in Go
- auto-migrate database schemas from Go models
- load related records with eager loading and associations
- split reads and writes across multiple databases
- build type-safe queries with Go generics
When to choose
- you are building a Go backend or web service that talks to a SQL database
- you want associations, hooks, and migrations handled by the ORM
- you need read/write splitting or multi-database support via plugins
- you prefer a batteries-included, widely adopted Go ORM with a large community
When to avoid
- you need maximum SQL control and prefer a lightweight query builder like sqlx or squirrel
- your project uses a language other than Go
- you want a schema-first migration tool rather than struct-based auto migration
- you need NoSQL databases, which GORM does not target
Facets
library · maturity stable
orm database database-driver databases backend web-development developer-tools go windows cross-platform go sql transactions auto-migration eager-loading crud database-resolver migration linux macos
4 sources
- readme: https://github.com/go-gorm/gorm · fetched 2026-08-28 · ed195cdc8909
- homepage: https://gorm.io · fetched 2026-08-29 · 5db4a0efc525
- site_page: https://gorm.io/docs · fetched 2026-08-29 · 990bf2b7b335
- site_page: https://gorm.io/docs/v2_release_note.html · fetched 2026-08-29 · 872d3f27a343
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-gorm/gorm | main | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem