Go MIT

gorm

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

G

go-gorm

Dernière activité 14 sept. 2026
go-gorm/gorm

40 k

étoiles

4,2 k

forks

541

issues ouvertes

gogolanggormormweb

Ce README est souvent en anglais.

GORM

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

go report card test status MIT license Go.Dev reference

Overview

  • Full-Featured ORM
  • Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism, Single-table inheritance)
  • Hooks (Before/After Create/Save/Update/Delete/Find)
  • Eager loading with Preload, Joins
  • Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
  • Context, Prepared Statement Mode, DryRun Mode
  • Batch Insert, FindInBatches, Find To Map
  • SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
  • Composite Primary Key
  • Auto Migrations
  • Logger
  • Extendable, flexible plugin API: Database Resolver (Multiple Databases, Read/Write Splitting) / Prometheus…
  • Every feature comes with tests
  • Developer Friendly

Getting Started

Contributing

You can help to deliver a better GORM, check out things you can do

Contributors

Thank you for contributing to the GORM framework!

License

© Jinzhu, 2013~time.Now

Released under the MIT License

Projets similaires

Golang ORM with focus on PostgreSQL features and performance

Godatabasegogolang
Ggo-pg
5,8 k étoiles415

SQL-first Golang ORM

Godatabasegogolang
Uuptrace
5 k étoiles305

a powerful mysql toolset with Go

Go
Ggo-mysql-org
5 k étoiles1,1 k