/
README (full)
GORM
The fantastic ORM library for Golang, aims to be developer friendly.
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
- GORM Guides https://gorm.io
- Gen Guides https://gorm.io/gen/index.html
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
| dir | .github/ |
| dir | callbacks/ |
| dir | clause/ |
| dir | debian/ |
| dir | internal/ |
| dir | logger/ |
| dir | migrator/ |
| dir | schema/ |
| dir | tests/ |
| dir | utils/ |
| file | .gitignore |
| file | .golangci.yml |
| file | CODE_OF_CONDUCT.md |
| file | LICENSE |
| file | README.md |
| file | association.go |
| file | callbacks.go |
| file | chainable_api.go |
| file | errors.go |
| file | finisher_api.go |
| file | generics.go |
| file | go.mod |
| file | go.sum |
| file | gorm.go |
| file | interfaces.go |
| file | migrator.go |
| file | model.go |
| file | prepare_stmt.go |
| file | scan.go |
| file | soft_delete.go |
| file | statement.go |
| file | statement_test.go |