/awesome-go-orms

ORMs for Go, most starred on GitHub.

MIT LicenseMIT

Top Go ORMs

A list of popular github projects related to Go ORM(Object-Relational Mapping) (ranked by stars)

Project Stars Forks Issues Go Version License Activity Description
gorm The fantastic ORM library for Golang, aims to be developer friendly
beego beego is an open-source, high-performance web framework for the Go programming language.
sqlx general purpose extensions to golang's database/sql
ent An entity framework for Go
sqlc Generate type-safe code from SQL
xorm Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle, Moved to https://gitea.com/xorm/xorm
sqlboiler Generate a Go ORM tailored to your database schema.
pg Golang ORM with focus on PostgreSQL features and performance
gorp Go Relational Persistence - an ORM-ish library for Go
xo Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
db Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
bun SQL-first Golang ORM
gormt database to golang struct
prisma Prisma Client Go is an auto-generated and fully type-safe database client
jet Type safe SQL builder with code generation and automatic query result data mapping
reform A better ORM for Go, based on non-empty interfaces and code generation.
pop A Tasty Treat For All Your Database Needs
go-sqlbuilder A flexible and powerful SQL string builder library plus a zero-config ORM.
go-queryset 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.
rel 💎 Modern ORM for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
qbs QBS stands for Query By Struct. A Go ORM.
bob SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite
zoom A blazing-fast datastore and querying engine for Go built on Redis.
pggen Generate type-safe Go for any Postgres query. If Postgres can run the query, pggen can generate code for it.
gosql golang orm and sql builder
grimoire Database access layer for golang
golobby/orm A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language.
GoBatis An easy ORM tool for Golang, support MyBatis-Like XML template SQL
go-store A simple and fast Redis backed key-value store library for Go
marlow golang generator for type-safe sql api constructs
beeorm Golang ORM
go-firestorm Simple Go ORM for Google/Firebase Cloud Firestore
cacheme Schema based, typed Redis caching/memoize framework for Go
lore Light Object-Relational Environment (LORE) provides a simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go
go-dbw A simple package that encapsulates database operations.
sqle A SQL-first/ORM-like Golang SQL package.