ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

Newest releases
ORM
7k

ent Simple, yet powerful entity framework for Go, that makes it easy to build and maintain applications with large data-models.
 
ORM
20

networkteam Got tired of too many abstractions over all the features PostgreSQL provides when using an ORM? But rolling your own persistence code is tedious and there's too much boilderplate? This is a code generator to generate a bunch of st
 
ORM
39

resotto Clean Boilerplate of Go, Domain-Driven Design, Clean Architecture, Gin and GORM
 
ORM
23

go-gorm DBResolver adds multiple databases support to GORM
 
ORM
7

johnnyb This is meant to be a Go ORM similar to ActiveRecord. There are a million Go ORMs, but none of them quite as good as ActiveRecord. sqlboiler comes close, but I don't like the reliance on separate config files, or its lack of a mi
 
ORM
177

travelaudience Some simple SQL extensions for Go go-sx provides some extensions to the standard library database/sql package. It is designed for those who wish to use the full power of SQL without a heavy abstraction layer.
 
Popular
ORM
7k

ent ent - An Entity Framework For Go Simple, yet powerful ORM for modeling and querying data. Schema As Code - model any graph schema as Go objects. Easily Traverse Any Graph - run queries, aggregations and traverse
 
ORM
43

ezbuy ezorm is an code-generation based ORM lib for golang, supporting mongodb/sql server/mysql/redis.
 
ORM
12

forgoer The Golang ORM library for web artisans.
 
ORM
232

ilibs gosql The package based on sqlx, It's simple and keep simple ⚠️ Because of some disruptive changes, The current major version is upgraded to V2,If you continue with V1, you can check out the v1 branches ht
 
Popular
ORM
3.8k

volatiletech SQLBoiler is a tool to generate a Go ORM tailored to your database schema. It is a "database-first" ORM as opposed to "code-first" (like gorm/gorp). That means you must first create your database schema. Please use some
 
ORM
91

aobt sqlmapper is a light mapper between golang struct and table rows in db example We need to read/write a table in db, like: CREATE TABLE `test_table` ( `field_key` varchar(64) NOT NULL DEFAULT '', `field
 
ORM
221

bigpigeon Toyorm this is powerful sql orm library for Golang, have some funny features A Simple Example Website Example Database connection Model definition example type translate Bind models
 
ORM
83

dadleyy Marlow is a code generation tool written in golang designed to create useful constructs that provide an ergonomic API for interacting with a project's data persistence layer while maintaining strong compile time type safe
 
ORM
604

jirfag go-queryset 100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood. Contents Installation Usage Define models R
 
ORM
69

spacemonkeygo DBX DBX is a tool to generate database schemas and code to operate with it. It currently generates Go bindings to Postgres and/or SQLite, but it should be fairly straightforward to add other database and language target
 
ORM
4.5k

go-pg PostgreSQL client and ORM for Golang Features Basic types: integers, floats, string, bool, time.Time, net.IP, net.IPNet. sql.NullBool, sql.NullString, sql.NullInt64, sql.NullFloat64 and pg.NullTime.
 
ORM
651

samonzeweb godb - a Go query builder and struct mapper godb is a simple Go query builder and struct mapper, not a full-featured ORM. godb does not manage relationships. Initially, godb was a learning project. The goal was to i
 
ORM
584

go-gormigrate Gormigrate Gormigrate is a migration helper for Gorm. Gorm already have useful migrate functions, just misses proper schema versioning and rollback cababilities. Supported databases It supports the da
 
ORM
273

albrow Zoom A blazing-fast datastore and querying engine for Go built on Redis. Requires Redis version >= 2.8.9 and Go version >= 1.2. The latest version of both is recommended. Full documentation is available on g
 
ORM
2.5k

upper upper.io/db.v3 The upper.io/db.v3 package for Go is a productive data access layer for Go that provides a common interface to work with different data sources such as PostgreSQL, MySQL, SQLite, MSSQL, QL and Mongo
 
ORM
1.7k

asdine Storm Storm is a simple and powerful toolkit for BoltDB. Basically, Storm provides indexes, a wide range of methods to store and fetch data, an advanced query system, and much more. In addition to the examples below
 
ORM
1.1k

go-reform reform A better ORM for Go and database/sql. It uses non-empty interfaces, code generation (go generate), and initialization-time reflection as opposed to interface{}, type system sidestepping, and runtime refle
 
ORM
3.5k

go-gorp Go Relational Persistence Update 2016-11-13: Future versions As many of the maintainers have become busy with other projects, progress toward the ever-elusive v2 has slowed to the point that we're only
 
ORM
286

jinzhu GORM The fantastic ORM library for Golang, aims to be developer friendly. Overview Full-Featured ORM (almost) Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism) Hooks (B
 
ORM
62

cosiner gomodel gomodel provide another method to interact with database. Instead of reflection, use bitset represent fields of CRUD, sql/stmt cache and generate model code for you, high performance. Install $ g
 
ORM
101

gosuri store store is a data-store library for Go that provides a set of platform-independent interfaces to persist and retrieve data. Its primary goal is to wrap existing implementations of such primitives, such as those i
 
ORM
9

dotcoo Golang ORM ORM library for Go Golang Import import "github.com/dotcoo/orm" Environment Database DROP TABLE IF EXISTS test_user; CREATE TABLE test_user ( id int(11) NOT NULL AUTO_INC