SHORTLIST20
日本語
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
プログラミング

Go (Golang) ORMs

Object-relational mappers for Go, ranked by GitHub stars

更新 · GitHub stars (stars)

なぜこの20か

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

このリストは役に立ちましたか?
  1. 1

    GORM

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

    40,000 stars 4,262 forkslast push 2026-10-24GoMIT

    こちらにも: #1 Go (Golang) ORMs and SQL query builders

  2. 2

    bun

    SQL-first Golang ORM. Successor of go-pg.

    5,001 stars 322 forkslast push 2026-11-20GoBSD-2-Clause

    こちらにも: #6 Go (Golang) ORMs and SQL query builders

  3. 3

    gorp

    Go Relational Persistence, ORM-ish library for Go.

    3,741 stars 380 forkslast push 2024-11-19GoMIT

    こちらにも: #9 Go (Golang) ORMs and SQL query builders

  4. 4

    upper.io/db

    Single interface for interacting with different data sources through the use of adapters that wrap mature database drivers.

    3,661 stars 238 forkslast push 2026-10-06GoMIT

    こちらにも: #10 Go (Golang) ORMs and SQL query builders

  5. 5

    gormt

    Mysql database to golang gorm struct.

    2,421 stars 358 forkslast push 2026-07-10GoMIT

  6. 6

    bob

    SQL query builder and ORM/Factory generator for Go. Successor of SQLBoiler.

    1,804 stars 119 forkslast push 2026-11-08GoMIT

    こちらにも: #12 Go (Golang) ORMs and SQL query builders

  7. 7

    go-sqlbuilder

    A flexible and powerful SQL string builder library plus a zero-config ORM.

    1,732 stars 145 forkslast push 2026-10-23GoMIT

    こちらにも: #13 Go (Golang) ORMs and SQL query builders

  8. 8

    pop/soda

    Database migration, creation, ORM, etc... for MySQL, PostgreSQL, and SQLite.

    1,527 stars 248 forkslast push 2026-11-20GoMIT

    こちらにも: #14 Go (Golang) ORMs and SQL query builders

  9. 9

    reform

    Better ORM for Go, based on non-empty interfaces and code generation.

    1,453 stars 74 forkslast push 2026-10-19GoMIT

    こちらにも: #15 Go (Golang) ORMs and SQL query builders

  10. 10

    rel

    Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API.

    788 stars 62 forkslast push 2026-11-01GoMIT

    こちらにも: #16 Go (Golang) ORMs and SQL query builders

  11. 11

    Zoom

    Blazing-fast datastore and querying engine built on Redis.

    311 stars 25 forkslast push 2023-02-02GoMIT

  12. 12

    go-sql

    A easy ORM for mysql.

    178 stars 21 forkslast push 2022-06-17GoMIT

  13. 13

    GoooQo

    A database access framework based on declarative query model.

    162 stars 4 forkslast push 2026-08-31GoBSD-3-Clause-Clear

  14. 14

    golobby/orm

    Simple, fast, type-safe, generic orm for developer happiness.

    162 stars 6 forkslast push 2026-06-22GoMIT

  15. 15

    grimoire

    Grimoire is a database access layer and validation for golang. (Support: MySQL, PostgreSQL and SQLite3).

    161 stars 16 forkslast push 2021-10-25GoMIT

  16. 16

    go-store

    Simple and fast Redis backed key-value store library for Go.

    113 stars 9 forkslast push 2017-02-23GoApache-2.0

  17. 17

    go-firestorm

    A simple ORM for Google/Firebase Cloud Firestore.

    53 stars 9 forkslast push 2021-12-13GoMIT

  18. 18

    cacheme

    Schema based, typed Redis caching/memoize framework for Go.

    25 stars 1 forkslast push 2021-12-18GoApache-2.0

  19. 19

    go-dbw

    A simple package that encapsulates database operations.

    18 stars 4 forkslast push 2026-07-10GoMPL-2.0

  20. 20

    CQL

    Built on top of GORM, adds compile-time verified queries based on auto-generated code.

    17 stars 0 forkslast push 2026-09-23GoMPL-2.0

測り方

Every tool in the ORM section(s) of the community list avelino/awesome-go on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

参考資料

  1. avelino/awesome-go: ORM, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 00:09 UTC.
  2. avelino/awesome-go (ORM), GitHub community list, 25 tools with a public repository.