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
- 去掉了表名自动转换成小写和加复数(现在struct写什么表名就是什么)
- 去掉了列名自动转换成小学和加下划线,现在struct写什么就是什么
- 其它不变,计划未来把 UpdataAt/CreatedAt 变成updated_at/created_at
- GORM Guides http://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