OSDN Git Service

0c5c7ea6c10656ad3bdc31d22f124ef0ae8b60bc
[bytom/vapor.git] / vendor / github.com / jinzhu / gorm / README.md
1 # GORM
2
3 The fantastic ORM library for Golang, aims to be developer friendly.
4
5 [![go report card](https://goreportcard.com/badge/github.com/jinzhu/gorm "go report card")](https://goreportcard.com/report/github.com/jinzhu/gorm)
6 [![wercker status](https://app.wercker.com/status/8596cace912c9947dd9c8542ecc8cb8b/s/master "wercker status")](https://app.wercker.com/project/byKey/8596cace912c9947dd9c8542ecc8cb8b)
7 [![Join the chat at https://gitter.im/jinzhu/gorm](https://img.shields.io/gitter/room/jinzhu/gorm.svg)](https://gitter.im/jinzhu/gorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
8 [![Open Collective Backer](https://opencollective.com/gorm/tiers/backer/badge.svg?label=backer&color=brightgreen "Open Collective Backer")](https://opencollective.com/gorm)
9 [![Open Collective Sponsor](https://opencollective.com/gorm/tiers/sponsor/badge.svg?label=sponsor&color=brightgreen "Open Collective Sponsor")](https://opencollective.com/gorm)
10 [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
11 [![GoDoc](https://godoc.org/github.com/jinzhu/gorm?status.svg)](https://godoc.org/github.com/jinzhu/gorm)
12
13 ## Overview
14
15 * Full-Featured ORM (almost)
16 * Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
17 * Hooks (Before/After Create/Save/Update/Delete/Find)
18 * Preloading (eager loading)
19 * Transactions
20 * Composite Primary Key
21 * SQL Builder
22 * Auto Migrations
23 * Logger
24 * Extendable, write Plugins based on GORM callbacks
25 * Every feature comes with tests
26 * Developer Friendly
27
28 ## Getting Started
29
30 * GORM Guides [http://gorm.io](http://gorm.io)
31
32 ## Contributing
33
34 [You can help to deliver a better GORM, check out things you can do](http://gorm.io/contribute.html)
35
36 ## License
37
38 © Jinzhu, 2013~time.Now
39
40 Released under the [MIT License](https://github.com/jinzhu/gorm/blob/master/License)