The fantastic ORM library for Golang, aims to be developer friendly.
This fork has an additional WithContext
to utilize context support introduced in golang 1.8. I'm going to maintain this branch until gorm v2 is released.
- Full-Featured ORM (almost)
- Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
- Hooks (Before/After Create/Save/Update/Delete/Find)
- Preloading (eager loading)
- Transactions
- Composite Primary Key
- SQL Builder
- Auto Migrations
- Logger
- Extendable, write Plugins based on GORM callbacks
- Every feature comes with tests
- Developer Friendly
- Supports context.Context on golang >=1.8
- GORM Guides https://gorm.io
You can help to deliver a better GORM, check out things you can do
© Jinzhu, 2013~time.Now
Released under the MIT License