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, Ent, GORM.

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

25 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 Ent

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

Go ORM Libraries 17.1K stars 4.0K imported-by 100% confidence
95

#3 GORM

Developer-friendly ORM library for Go.

Go ORM Libraries 39.8K stars 0 imported-by 80% confidence
91

#4 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 51.7K stars 0 imported-by 80% confidence
89

#5 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 40.1K stars 0 imported-by 80% confidence
89

#6 dolt

Dolt – Git for Data

Go ORM Libraries 22.9K stars 0 imported-by 65% confidence
89

#7 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 45% confidence
87

#8 sqlx

provides a set of extensions on top of the excellent built-in database/sql package.

Go ORM Libraries 17.6K stars 25.6K imported-by 65% confidence
76

#9 manifestor

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

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

#11 xorm

Package xorm is a simple and powerful ORM for Go.

Go ORM Libraries 6.6K stars 0 imported-by 75% confidence
61

#12 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 0 stars 0 imported-by 60% confidence
57

#13 go-kallax.v1

Kallax is a PostgreSQL typesafe ORM for the Go language.

Go ORM Libraries 0 stars 118 imported-by 40% confidence
57

#14 godbal

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

Go ORM Libraries 0 stars 24 imported-by 80% confidence
47

#15 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

#16 yago

Go ORM Libraries 0 stars 19 imported-by 75% confidence
46

#17 forms

package forms is a lightweight, but incredibly useful library for parsing form data from an http.Request.

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

#18 kala

Simplistic, modern, and performant job scheduler.

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

#19 sessions

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

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

#20 pogreb

Embedded key-value store for read-heavy workloads.

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 lore

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

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

#23 govvv

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

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

#24 sqlf

Package sqlf is an SQL statement builder and executor.

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

#25 aerospike-client-go

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

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

Comparison Matrix

score dimensions
Package Health Maintenance Adoption Security Imported by
dgraph 95 95 100 92 0
Ent 95 95 100 92 4.0K
GORM 91 95 100 70 0
etcd 89 95 100 70 0
tidb 89 95 100 70 0
dolt 89 95 100 92 0
cockroach 87 90 100 70 0
sqlx 76 38 100 92 25.6K
manifestor 64 90 7 92 0
go-repository-bun 61 75 24 92 24
xorm 61 12 88 70 0
GoSQLX 57 83 7 70 0
go-kallax.v1 57 48 35 92 118
godbal 47 15 31 92 24
todotxt 46 15 25 92 10
yago 46 27 22 92 19
forms 45 15 29 92 20
kala 44 48 7 70 0
sessions 44 48 7 70 0
pogreb 44 48 7 70 0
webhooked 44 48 7 70 0
lore 40 15 7 92 0
govvv 38 15 7 92 0
sqlf 36 15 7 70 0
aerospike-client-go 35 15 7 70 0