go-gorm/gorm

The fantastic ORM library for Golang, aims to be developer friendly

View on GitHub ↗Jump to charts ↓

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on February 18th, 2025
Created on October 25th, 2013
Open Issues & Pull Requests: 545 (+0)
GitHub issues: Enabled
Number of forks: 4,196
Total Stargazers: 39,982 (+0)
Total Subscribers: 490 (+0)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 233.2 days
90th percentile: 976.7 days
Tracked items: 786

Maintainer activity

2 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 7, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

About 18% of issues opened in the past year have never received a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 84% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 53% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 363
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 663 days
Stale 30+ days: 358
Stale 90+ days: 337

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • status:stale (987)
  • type:missing reproduction steps (745)
  • type:question (588)
  • type:with reproduction steps (327)
  • type:feature_request (201)
  • status:gorm_v1 (186)
  • contribution welcome (18)
  • type:invalid question (14)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

GORM is a comprehensive Object-Relational Mapping library for Go that prioritizes developer experience and ease of use. The library provides a full-featured ORM solution designed to streamline database interactions in Go applications, offering extensive functionality for managing relational data through Go structs and methods rather than raw SQL.

The core capabilities of GORM encompass a wide range of database operations and patterns. The library supports multiple association types including Has One, Has Many, Belongs To, Many To Many relationships, along with polymorphism and single-table inheritance patterns. It includes a comprehensive hooks system with Before and After triggers for Create, Save, Update, Delete, and Find operations, allowing developers to inject custom logic at various points in the data lifecycle. Transaction support extends beyond basic transactions to include nested transactions, save points, and the ability to rollback to specific saved points, providing fine-grained control over data consistency.

GORM's query capabilities are extensive, featuring eager loading through Preload and Joins methods, batch operations including batch insert and FindInBatches, and the ability to find results mapped to custom structures. The library includes a SQL builder for constructing complex queries programmatically, with support for upsert operations, row locking, optimizer hints, index hints, comment hints, named arguments, and SQL expressions within search, update, and create operations. Additional features include support for composite primary keys, automatic migrations, built-in logging, and context support for managing request lifecycles.

The architecture emphasizes extensibility through a flexible plugin API. The Database Resolver plugin enables multiple database connections and read/write splitting patterns, while Prometheus integration provides monitoring capabilities. The library also supports prepared statement mode and dry-run mode for query inspection and debugging.

According to GitGenius activity tracking, the repository shows significant maintenance and community engagement.

GORM is released under the MIT License and maintains comprehensive test coverage across all features. The project is supported by official documentation at gorm.io and includes a code generation tool called Gen for type-safe query building. The library's emphasis on being developer-friendly is reflected in its intuitive API design and extensive documentation resources available to users.