Automated ranking

Best Go ORM Libraries

Compare go orm libraries by maintenance, adoption, security, release activity, and Go ecosystem usage. Top packages in this group include dgraph, cockroach, dolt.

Best overall

dgraph

Highest combined package health score.

95
Best maintained

dgraph

Strongest maintenance signal in this category.

95
Most adopted

dgraph

Highest adoption signal from stars, forks, and imported-by data.

100

Ranked Packages

26 packages

#1 dgraph

high-performance graph database for real-time use cases

Go ORM Libraries 21.7K stars 0 imported-by 100% confidence
95

#2 cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

Go ORM Libraries 32.2K stars 0 imported-by 100% confidence
92

#3 dolt

Dolt – Git for Data

Go ORM Libraries 23.4K stars 0 imported-by 100% confidence
89

#4 GORM

Developer-friendly ORM library for Go.

Go ORM Libraries 0 stars 86.9K imported-by 80% confidence
76

#5 Ent

Package ent is the interface between end-user schemas and entc (ent codegen).

Go ORM Libraries 0 stars 4.0K imported-by 80% confidence
75

#6 GoSQLX

Package gosqlx provides a production-ready, high-performance SQL parsing SDK for Go with zero-copy tokenization and comprehensive object pooling.

Go ORM Libraries 100 stars 0 imported-by 80% confidence
75

#7 sqlx

Package sqlx provides general purpose extensions to database/sql.

Go ORM Libraries 17.6K stars 25.6K imported-by 90% confidence
74

#8 kala

Simplistic, modern, and performant job scheduler.

Go ORM Libraries 2.2K stars 0 imported-by 80% confidence
74

#9 gomemcached

A binary Memcached client for Go with support for sharding using consistent hashing, along with SASL.

Go ORM Libraries 22 stars 0 imported-by 100% confidence
68

#10 godbal

Database Abstraction Layer (dbal) for go. Support SQL builder and get result easily.

Go ORM Libraries 60 stars 24 imported-by 100% confidence
61

#11 govvv

“go build” wrapper to easily add version information into Go binaries.

Go ORM Libraries 539 stars 0 imported-by 100% confidence
56

#12 forms

Framework-agnostic library for parsing and validating form/JSON data which supports multipart forms and files.

Go ORM Libraries 0 stars 20 imported-by 45% confidence
55

#13 aerospike-client-go

Package aerospike provides a client to connect and interact with an Aerospike cluster.

Go ORM Libraries 0 stars 1.6K imported-by 80% confidence
54

#14 BigCache

Efficient key/value cache for gigabytes of data.

Go ORM Libraries 0 stars 630 imported-by 80% confidence
53

#15 manifestor

Zero-dependency library for parsing, filtering, transforming, and building HLS and DASH manifests.

Go ORM Libraries 0 stars 0 imported-by 45% confidence
50

#16 todotxt

Package todotxt is yet another a Go library for Gina Trapani's todo.txt files.

Go ORM Libraries 0 stars 10 imported-by 80% confidence
46

#17 go-kallax.v1

Kallax is a PostgreSQL typesafe ORM for the Go language.

Go ORM Libraries 0 stars 0 imported-by 40% confidence
44

#18 pig

Simple [pgx](https://github.com/jackc/pgx) wrapper to execute and [scan](https://github.com/georgysavva/scany) query results easily.

Go ORM Libraries 0 stars 0 imported-by 25% confidence
44

#19 pogreb

Embedded key-value store for read-heavy workloads.

Go ORM Libraries 0 stars 0 imported-by 25% confidence
44

#20 sqlf

Package sqlf is an SQL statement builder and executor.

Go ORM Libraries 0 stars 0 imported-by 25% confidence
44

#21 webhooked

A webhook receiver on steroids: handle, secure, format and store a Webhook payload has never been easier.

Go ORM Libraries 0 stars 0 imported-by 25% confidence
44

#22 xorm

Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle, Moved to https://gitea.com/xorm/xorm

Go ORM Libraries 0 stars 0 imported-by 20% confidence
43

#23 lore

Simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go.

Go ORM Libraries 0 stars 0 imported-by 80% confidence
40

#24 etcd

Package main is a simple wrapper of the real etcd entrypoint package (located at github.com/coreos/etcd/etcdmain) to ensure that etcd is still "go getable"; e.g.

Go ORM Libraries 0 stars 0 imported-by 80% confidence
39

#25 sessions

Dead simple, highly performant, highly customizable sessions service for go http servers.

Go ORM Libraries 0 stars 0 imported-by 60% confidence
35

#26 tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Go ORM Libraries 0 stars 0 imported-by 80% confidence
28

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
dgraph 95 95 100 92 0
cockroach 92 90 100 92 0
dolt 89 95 100 92 0
GORM 76 63 84 92 86.9K
Ent 75 83 61 92 4.0K
GoSQLX 75 95 48 70 0
sqlx 74 38 100 70 25.6K
kala 74 63 82 70 0
gomemcached 68 68 33 92 0
godbal 61 8 73 92 24
govvv 56 8 66 92 0
forms 55 48 29 92 20
aerospike-client-go 54 15 61 92 1.6K
BigCache 53 15 55 92 630
manifestor 50 48 7 92 0
todotxt 46 15 25 92 10
go-kallax.v1 44 48 5 70 0
pig 44 48 7 70 0
pogreb 44 48 7 70 0
sqlf 44 48 7 70 0
webhooked 44 48 7 70 0
xorm 43 48 5 70 0
lore 40 15 7 92 0
etcd 39 15 7 92 0
sessions 35 15 7 70 0
tidb 28 15 7 35 0

Related Comparisons

Go ORM Libraries

GORM vs sqlx

Compare health, maintenance, adoption, security, and release signals.

76

GORM vs Ent

Compare health, maintenance, adoption, security, and release signals.

76

sqlx vs Ent

Compare health, maintenance, adoption, security, and release signals.

75

aerospike-client-go vs BigCache

Compare health, maintenance, adoption, security, and release signals.

54

aerospike-client-go vs govvv

Compare health, maintenance, adoption, security, and release signals.

56

govvv vs BigCache

Compare health, maintenance, adoption, security, and release signals.

56