Categories

ORM

Libraries that implement Object-Relational Mapping or datamapping techniques.

Repos

74

Stars

107,256

30 days

+184

go-gorm

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

Created Oct 2013

go golang gorm orm web
Total 40,042
30 days +76
uptrace

SQL-first Golang ORM

Created May 2021

database go golang mssql mysql
Total 5,007
30 days +18
go-gorp

Go Relational Persistence - an ORM-ish library for Go

Created Jan 2012

Total 3,744
30 days +0
upper
upper / db

Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

Created Oct 2013

cockroachdb dal database db go
Total 3,664
30 days +4
xxjwxc

database to golang struct

Created May 2019

database function go golang gorm
Total 2,424
30 days +0
stephenafamo

SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite

Created Apr 2022

database golang hacktoberfest mysql orm
Total 1,807
30 days +13
huandu

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

Created Dec 2017

database go hiveql lightweight mysql
Total 1,734
30 days +4
gobuffalo

A Tasty Treat For All Your Database Needs

Created Feb 2018

cockroachdb database gobuffalo migrations mysql
Total 1,529
30 days +4
go-reform

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

Created Feb 2016

go golang hacktoberfest orm sql
Total 1,454
30 days +0
go-rel

💎 Modern ORM for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API

Created Oct 2019

database database-migration golang hacktoberfest help-wanted
Total 789
30 days +4
albrow

A blazing-fast datastore and querying engine for Go built on Redis.

Created Jul 2013

go redis
Total 311
30 days +0
rushteam

golang orm and sql builder

Created Apr 2020

awesome db gin golang golang-library
Total 177
30 days +2
doytowin

GoooQo is a database access framework implemented in Go, based on OQM technique.

Created Nov 2023

ddd go goooqo oqm orm
Total 162
30 days +0
golobby

A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language.

Created Aug 2021

database generics go golang object-relational-mapper
Total 162
30 days +0
Fs02

Database access layer for golang

Created Mar 2018

changeset database golang mysql orm
Total 161
30 days +0
gosuri

A simple and fast Redis backed key-value store library for Go

Created Mar 2015

Total 113
30 days +0
jschoedt

Simple Go ORM for Google/Firebase Cloud Firestore

Created Dec 2018

firebase firestore go go-module golang
Total 53
30 days +0

More

ent
ent / ent

An entity framework for Go

Created Jun 2019

ent entity-framework orm
Total 17,257
30 days +46
go-pg
go-pg / pg

Golang ORM with focus on PostgreSQL features and performance

Created Apr 2013

database go golang hstore jsonb
Total 5,781
30 days +4
xormplus

xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作

Created May 2015

go golang golang-library ibatis-sql json-xml
Total 1,550
30 days +0
gohouse

GoRose(go orm), a mini database ORM for golang, which inspired by the famous php framwork laravle's eloquent. It will be friendly for php developer and python or ruby developer. Currently provides six major database drivers: mysql,sqlite3,postgres,oracle,mssql, Clickhouse.

Created Jan 2018

clickhouse database databases db eloquent
Total 1,162
30 days +0
src-d

Kallax is a PostgreSQL typesafe ORM for the Go language.

Created Jan 2017

database golang orm postgres postgresql
Total 853
30 days +0
go-gorm

GORM Customized Data Types Collection

Created Jun 2020

json
Total 833
30 days +1
jirfag

100% type-safe ORM for Go (Golang) with code generation and MySQL, PostgreSQL, Sqlite3, SQL Server support. GORM under the hood.

Created Sep 2017

codegenerator go golang gorm orm
Total 729
30 days +1
eaigner

Database agnostic ORM for Go

Created Dec 2012

Total 706
30 days +0
astaxie

beedb is a go ORM,support database/sql interface,pq/mysql/sqlite

Created May 2012

Total 704
30 days +0
d-tsuji

ORMs for Go, most starred on GitHub.

Created Jan 2020

awesome awesome-list go orm orms
Total 661
30 days +4
coocood

QBS stands for Query By Struct. A Go ORM.

Created Feb 2013

Total 541
30 days +0
russross

conversion between sql and structs in go

Created Jun 2013

Total 533
30 days +0
jmoiron

golang database modelling library

Created Jun 2013

Total 480
30 days +0
zhuxiujia

Go ORM Library.Have Powerful Features like transaction nesting, Optimistic Lock,Logical deletion and more. like mybatis for go golang

Created Oct 2018

Total 441
30 days +1
Masterminds

Golang struct-to-table database mapper

Created Feb 2014

go squirrel
Total 316
30 days +0
acmestack

Gorm-plus是基于Gorm的增强版,类似Mybatis-plus语法。Gorm-plus is based on an enhanced version of Gorm, similar to Mybatis-plus syntax.

Created Oct 2022

go golang gorm gorm-plus gormplus
Total 309
30 days +1
ilibs

🐥The very simple ORM library for Golang

Created Jun 2018

crud golang orm sql sqlx
Total 295
30 days +0
jackskj

SQL data mapper for Go

Created May 2020

database go golang mysql postgresql
Total 229
30 days +0
bigpigeon

golang orm

Created Jan 2018

database golang
Total 224
30 days +0
swiftcarrot

Schema-first and type-safe ORM for Golang and TypeScript

Created Mar 2023

golang mysql orm postgresql sqlite
Total 198
30 days +0
zebresel-com

A golang object document mapper (ODM) for MongoDB

Created Nov 2015

document-mapper golang golang-library mapper mongodb
Total 197
30 days +0
ecodeclub

简单 ORM 框架

Created Sep 2021

orm
Total 196
30 days +0
kamalshkeir

KORM, an elegant and lightning-fast ORM for all your concurrent and async needs. Inspired by the highly popular Django Framework, KORM offers similar functionality with the added bonus of performance

Created Nov 2022

admin admin-dashboard blazingly-fast builder eventbus
Total 185
30 days +0
tangpanqing

Operate Database So Easy For GoLang Developer

Created Nov 2022

go golang orm
Total 175
30 days +0
naoina

Simple, better and easy-to-use ORM library for Golang

Created Feb 2014

Total 161
30 days +0
folospace

Dedicated to easier use of mysql in go project

Created Dec 2021

go-orm golang mysql-orm
Total 156
30 days +0
z5labs

Golang Object Graph Mapper for Neo4j

Created Jul 2019

cli cypher edges go golang
Total 142
30 days +0
go-goe

A type safe SQL like ORM for Go

Created Feb 2024

Total 126
30 days +0
longbridge

High performance table sharding plugin for Gorm.

Created Jan 2022

Total 119
30 days +0
orca-zhang

【🔥今日热门】🏎️ 更好的ORM库 (Better ORM library that is simple, fast and self-mockable for Go)

Created Mar 2019

as-is borm crud fast golang
Total 119
30 days +0
mei-rune

An easy ORM tool for Golang, support MyBatis-Like XML template SQL

Created May 2018

golang mybatis orm orm-framework
Total 117
30 days +0
go-gorm

Type-safe GORM with SQL templates, model helpers, first-class associations

Created Apr 2025

Total 110
30 days +0
zhihu

An orm library support nGQL for Golang

Created Jul 2021

golang nebula orm
Total 109
30 days +0
aobt

sqlmapper is a light mapper between go-struct and table-rows in db

Created Apr 2018

db go golang mapper mysql
Total 103
30 days +0
tobycroft

AI 亲和的多引擎数据库框架:无缝兼容 MySQL、PostgreSQL、MSSQL、Oracle,拥有类 ThinkPHP 的丝滑链式查询体验,并内置防注入机制

Created Sep 2021

database eloquent eloquent-orm go go-orm
Total 101
30 days +0
go-juicedev

Like Mybatis but for golang.

Created Oct 2022

generic go golang mapper mybatis
Total 99
30 days +0
springrain

Go轻量ORM,支持达梦(dm),金仓(kingbase),神通(shentong),南大通用(gbase),TDengine,mysql,postgresql,oracle,mssql,sqlite,db2,clickhouse...

Created Mar 2020

clickhouse database dm gbase go
Total 84
30 days +0
zhoudm1743

TORM是一个基于Go语言开发的高性能ORM(对象关系映射)框架,灵感来源于PHP ThinkORM。它提供了简洁易用的API、强大的查询构造器、完整的模型系统以及丰富的功能。

Created Aug 2025

go orm
Total 83
30 days +0
daodao97

One easy-to-use go db library

Created Mar 2022

go golang orm sql
Total 79
30 days +0
quintans

a ORM like library in Go (golang)

Created Jun 2013

Total 73
30 days +0
go-gorm

Soft delete with unix seconds

Created Nov 2020

Total 65
30 days +0
flume

History tables for ent

Created Mar 2023

ent entity-framework go golang orm
Total 57
30 days +0
wenj91

golang mybatis, 简单便捷

Created Mar 2018

database go gobatis golang mapper
Total 57
30 days +0
lazada

A package for fast mapping SQL rows to structures, maps and slices

Created Oct 2017

go golang sql
Total 57
30 days +0
regeda
regeda / y

Be faster with Y. The simplest ORM-like framework for Golang.

Created Nov 2015

Total 54
30 days +0
oguzbilgic

dead simple, tiny but powerful Go ORM

Created Sep 2013

Total 52
30 days +0
yinshuwei

The lightweight Go language ORM tool uses only the Go standard library to implement SQL templates, data introspection, and supports MySQL and PostgreSQL.

Created May 2014

database db go orm sql-mapping
Total 51
30 days +0
yunionio

A lightweight golang ORM library inspired by python sqlalchemy

Created Jul 2018

golang orm
Total 50
30 days +0
ezbuy

schema first orm for Go

Created Feb 2016

golang mongodb mysql orm schema-first
Total 50
30 days +0
go-xorm

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

Created May 2013 Archived

golang mssql mysql orm postgres
Total 6,613
30 days +1
cosiner

[UNMATAINED] A lightweight, fast, orm-like library helps interactive with database

Created Apr 2015 Archived

Total 59
30 days +0
latolukasz

Golang ORM

Created Jul 2021 Archived

go golang mysql orm redis
Total 55
30 days +0
go-xorm

Lightweight & Compitable wrapper of database/sql, move to https://gitea.com/xorm/core

Created Apr 2014 Archived

Total 52
30 days +0

From awesome-go (MIT), plus repos sorted by Jev.