cloned from https://github.com/jinzhu/gorm

Jinzhu 04adbaf7f6 Fix parse stmt ReflectValue %!s(int64=4) %!d(string=hai) anos
.github 21fb3ae1fe Simplify GitHub templates %!s(int64=6) %!d(string=hai) anos
callbacks 5ccd76f76c Setup Transaction %!s(int64=4) %!d(string=hai) anos
clause e2a360b9fa Add Before/After callbacks %!s(int64=4) %!d(string=hai) anos
dialects bc5ceff82f Explain SQL for dialects %!s(int64=4) %!d(string=hai) anos
logger 04adbaf7f6 Fix parse stmt ReflectValue %!s(int64=4) %!d(string=hai) anos
migrator a67be2a1f1 Refactor reorder migrator models %!s(int64=4) %!d(string=hai) anos
schema 04adbaf7f6 Fix parse stmt ReflectValue %!s(int64=4) %!d(string=hai) anos
tests fa22807e12 Make inesrt into db works %!s(int64=4) %!d(string=hai) anos
utils 27cb613871 Refactor logger %!s(int64=4) %!d(string=hai) anos
.gitignore b9cce2be6a Add clause, DB API, model definition %!s(int64=4) %!d(string=hai) anos
License 1b4490fd47 Add MIT License file %!s(int64=9) %!d(string=hai) anos
README.md 206174c932 Change gorm.io links to https %!s(int64=5) %!d(string=hai) anos
association.go 5ccd76f76c Setup Transaction %!s(int64=4) %!d(string=hai) anos
callbacks.go 04adbaf7f6 Fix parse stmt ReflectValue %!s(int64=4) %!d(string=hai) anos
chainable_api.go 6d58b62fd4 Add sqlite migration tests %!s(int64=4) %!d(string=hai) anos
finisher_api.go 5ccd76f76c Setup Transaction %!s(int64=4) %!d(string=hai) anos
go.mod a67be2a1f1 Refactor reorder migrator models %!s(int64=4) %!d(string=hai) anos
gorm.go 215f5e7765 Add Raw, Row, Rows %!s(int64=4) %!d(string=hai) anos
helpers.go 62dcd7896a Add Migrator %!s(int64=4) %!d(string=hai) anos
interfaces.go 5ccd76f76c Setup Transaction %!s(int64=4) %!d(string=hai) anos
migrator.go fab7d96da5 Add DataTypeOf for dialector %!s(int64=4) %!d(string=hai) anos
statement.go 04adbaf7f6 Fix parse stmt ReflectValue %!s(int64=4) %!d(string=hai) anos
wercker.yml fe24c3f105 Setup tests script %!s(int64=4) %!d(string=hai) anos

README.md

GORM

The fantastic ORM library for Golang, aims to be developer friendly.

go report card wercker status codecov Open Collective Backer Open Collective Sponsor MIT license GoDoc

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

Contributing

You can help to deliver a better GORM, check out things you can do

License

© Jinzhu, 2013~time.Now

Released under the MIT License