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

Jinzhu fab7d96da5 Add DataTypeOf for dialector 4 anni fa
.github 21fb3ae1fe Simplify GitHub templates 6 anni fa
callbacks 43ce0b8af2 Handle create with default db values 4 anni fa
clause 0be4817ff9 Finish CreateConstraint 4 anni fa
dialects fab7d96da5 Add DataTypeOf for dialector 4 anni fa
logger a4a0895a85 Test parse schema relations 4 anni fa
migrator fab7d96da5 Add DataTypeOf for dialector 4 anni fa
schema fab7d96da5 Add DataTypeOf for dialector 4 anni fa
tests faee069a9f Test Field Valuer, Setter 4 anni fa
utils e509b3100d Implement callbacks 4 anni fa
.gitignore b9cce2be6a Add clause, DB API, model definition 4 anni fa
License 1b4490fd47 Add MIT License file 9 anni fa
README.md 206174c932 Change gorm.io links to https 5 anni fa
association.go b9cce2be6a Add clause, DB API, model definition 4 anni fa
callbacks.go 62dcd7896a Add Migrator 4 anni fa
chainable_api.go 15ce5b3cdd Add create value converter 4 anni fa
finisher_api.go 1f38ec4410 Finish clauses tests 4 anni fa
go.mod 98ad29f2c2 Add Selects, Omits for statement 4 anni fa
gorm.go 0160bab7dc Add clause tests 4 anni fa
helpers.go 62dcd7896a Add Migrator 4 anni fa
interfaces.go fab7d96da5 Add DataTypeOf for dialector 4 anni fa
migrator.go fab7d96da5 Add DataTypeOf for dialector 4 anni fa
statement.go 62dcd7896a Add Migrator 4 anni fa

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