forked from mirror/gorm
43 lines
1.9 KiB
Markdown
43 lines
1.9 KiB
Markdown
# GORM
|
|
|
|
The fantastic ORM library for Golang, aims to be developer friendly.
|
|
|
|
[![go report card](https://goreportcard.com/badge/gorm.io/gorm "go report card")](https://goreportcard.com/report/gorm.io/gorm)
|
|
[![wercker status](https://app.wercker.com/status/8596cace912c9947dd9c8542ecc8cb8b/s/master "wercker status")](https://app.wercker.com/project/byKey/8596cace912c9947dd9c8542ecc8cb8b)
|
|
[![codecov](https://codecov.io/gh/go-gorm/gorm/branch/master/graph/badge.svg)](https://codecov.io/gh/go-gorm/gorm)
|
|
[![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)
|
|
[![Open Collective Backer](https://opencollective.com/gorm/tiers/backer/badge.svg?label=backer&color=brightgreen "Open Collective Backer")](https://opencollective.com/gorm)
|
|
[![Open Collective Sponsor](https://opencollective.com/gorm/tiers/sponsor/badge.svg?label=sponsor&color=brightgreen "Open Collective Sponsor")](https://opencollective.com/gorm)
|
|
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
|
|
[![GoDoc](https://godoc.org/gorm.io/gorm?status.svg)](https://godoc.org/gorm.io/gorm)
|
|
|
|
## Overview
|
|
|
|
* 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
|
|
|
|
## Getting Started
|
|
|
|
* GORM Guides [https://gorm.io](https://gorm.io)
|
|
|
|
## Contributing
|
|
|
|
[You can help to deliver a better GORM, check out things you can do](https://gorm.io/contribute.html)
|
|
|
|
## License
|
|
|
|
© Jinzhu, 2013~time.Now
|
|
|
|
Released under the [MIT License](https://github.com/go-gorm/gorm/blob/master/License)
|
|
|