GORM
The fantastic ORM library for Golang, aims to be developer friendly observed · 2026-10-15
Health v2 · maintenance only
91/100
- Activity 94
- Release rhythm 83
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 14.5
- age_days: 4743
- days_rel: 117
- days_push: 36
- n_releases_24m: 11
Adoption not part of the score
39978 stars · 4197 forks observed · 2026-10-15
What it is AI-extracted, prompt v1, taxonomy v1, 2026-09-28, confidence 0.99
GORM is a full‑featured Object‑Relational Mapping (ORM) library for the Go programming language. It provides a developer‑friendly API for defining models, handling associations, migrations, and advanced query capabilities.
Use cases
- Map Go structs to relational database tables and perform CRUD operations.
- Define and manage complex associations such as has‑many, many‑to‑many, and polymorphic relations.
- Execute batch inserts, eager loading with Preload, and transaction management with nested save points.
- Leverage generics for type‑safe queries and operations in Go 1.18+.
- Implement read/write splitting and monitoring via official plugins like database resolver and Prometheus.
When to choose
- You need a mature, feature‑rich ORM for Go with built‑in support for associations, migrations, and plugins.
- Your project benefits from type‑safe generics and a flexible hook system for custom logic.
- You require advanced query capabilities such as upserts, locking hints, and context‑aware execution.
When to avoid
- You prefer raw SQL for maximum performance or minimal abstraction.
- Your application is written in a language other than Go.
- You need a lightweight library with a tiny footprint and no ORM features.
Facets
library · maturity active
orm backend go windows developer-friendly generics plugin-system read-write-splitting auto-migrations data-engineering linux macos
4 sources
- readme: https://github.com/go-gorm/gorm · fetched 2026-10-15 · ed195cdc8909
- homepage: https://gorm.io · fetched 2026-09-14 · 5db4a0efc525
- site_page: https://gorm.io/docs · fetched 2026-09-14 · 990bf2b7b335
- site_page: https://gorm.io/docs/v2_release_note.html · fetched 2026-09-14 · 872d3f27a343
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-gorm/gorm | main | 91 |
| go-gorm/gen | plugin | 92 |
| go-gorm/datatypes | plugin | 66 |
| go-gorm/dbresolver | plugin | 71 |
| go-gorm/gorm.io | docs | 76 |
| go-gorm/prometheus | plugin | 77 |
| go-gorm/opentelemetry | plugin | 73 |
| go-gorm/playground | examples | 46 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem