The fantastic ORM library for Golang, aims to be developer friendly.
- 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
- GORM Guides https://gorm.io
Oracle support is made optional.
Since oracle drivers initialize at start, a build flag has been added to enable oracle sdk. Example:
go build -tags oracle ./...
or running main during development
go run -tags oracle main.go
You can help to deliver a better GORM, check out things you can do
© Jinzhu, 2013~time.Now
Released under the MIT License