ORMs for Go, most starred on GitHub.
A list of popular github projects related to Go ORM(Object-Relational Mapping) (ranked by stars automatically) Please update list.txt (via Pull Request)
| Project Name | Stars | Forks | Open Issues | Description | Last Update |
|---|---|---|---|---|---|
| gorm | 39954 | 4182 | 527 | The fantastic ORM library for Golang, aims to be developer friendly | 2026-09-12 23:57:02 |
| beego | 32425 | 5577 | 24 | beego is an open-source, high-performance web framework for the Go programming language. | 2026-09-12 15:10:49 |
| sqlc | 18283 | 1085 | 682 | Generate type-safe code from SQL | 2026-09-13 02:29:39 |
| sqlx | 17734 | 1118 | 395 | general purpose extensions to golang's database/sql | 2026-09-12 10:52:18 |
| ent | 17198 | 1009 | 622 | An entity framework for Go | 2026-09-12 18:07:05 |
| sqlboiler | 6990 | 559 | 108 | Generate a Go ORM tailored to your database schema. | 2026-09-06 13:41:27 |
| xorm | 6618 | 741 | 305 | Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle, Moved to https://gitea.com/xorm/xorm | 2026-09-11 14:44:00 |
| pg | 5783 | 415 | 124 | Golang ORM with focus on PostgreSQL features and performance | 2026-09-08 09:34:26 |
| bun | 4968 | 303 | 39 | SQL-first Golang ORM | 2026-09-12 13:28:12 |
| dbtpl | 3896 | 337 | 70 | Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server | 2026-09-09 03:38:26 |
| jet | 3798 | 193 | 45 | Type safe SQL builder with code generation and automatic query result data mapping | 2026-09-13 02:26:56 |
| gorp | 3744 | 380 | 148 | Go Relational Persistence - an ORM-ish library for Go | 2026-09-07 03:42:47 |
| db | 3656 | 236 | 165 | Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features. | 2026-09-10 16:56:08 |
| gormt | 2422 | 362 | 59 | database to golang struct | 2026-09-10 18:42:30 |
| prisma-client-go | 2276 | 104 | 115 | Prisma Client Go is an auto-generated and fully type-safe database client | 2026-09-01 06:23:50 |
| bob | 1778 | 113 | 51 | SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite | 2026-09-12 14:54:34 |
| go-sqlbuilder | 1729 | 141 | 3 | A flexible and powerful SQL string builder library plus a zero-config ORM. | 2026-09-10 09:11:10 |
| pop | 1525 | 251 | 94 | A Tasty Treat For All Your Database Needs | 2026-09-12 17:29:53 |
| reform | 1457 | 74 | 88 | A better ORM for Go, based on non-empty interfaces and code generation. | 2026-09-07 03:50:48 |
| rel | 786 | 61 | 33 | :gem: Modern ORM for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API | 2026-09-07 00:46:57 |
| go-queryset | 728 | 77 | 20 | 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood. | 2026-08-13 07:25:09 |
| qbs | 541 | 95 | 10 | QBS stands for Query By Struct. A Go ORM. | 2026-09-01 13:16:31 |
| pggen | 318 | 30 | 23 | Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it. | 2026-08-20 21:07:11 |
| zoom | 311 | 25 | 2 | A blazing-fast datastore and querying engine for Go built on Redis. | 2026-08-13 14:29:11 |
| grimoire | 161 | 16 | 0 | Database access layer for golang | 2025-12-30 23:49:19 |
| GoBatis | 117 | 17 | 1 | An easy ORM tool for Golang, support MyBatis-Like XML template SQL | 2026-08-26 11:42:14 |
| go-store | 113 | 9 | 1 | A simple and fast Redis backed key-value store library for Go | 2026-06-12 09:49:13 |
| marlow | 81 | 7 | 2 | golang generator for type-safe sql api constructs | 2024-09-26 21:16:01 |
| beeorm | 55 | 10 | 3 | Golang ORM | 2026-07-13 04:35:50 |
| go-firestorm | 53 | 9 | 0 | Simple Go ORM for Google/Firebase Cloud Firestore | 2025-08-27 12:18:39 |
| lore | 14 | 3 | 0 | Light Object-Relational Environment (LORE) provides a simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go | 2023-09-25 08:03:17 |
Last Automatic Update: 2026-09-13T03:35:53Z
No open issues yet, or sync has not completed.