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

Jinzhu fe24c3f105 Setup tests script há 4 anos atrás
.github 21fb3ae1fe Simplify GitHub templates há 6 anos atrás
callbacks 6d58b62fd4 Add sqlite migration tests há 4 anos atrás
clause 6d58b62fd4 Add sqlite migration tests há 4 anos atrás
dialects a67be2a1f1 Refactor reorder migrator models há 4 anos atrás
logger a4a0895a85 Test parse schema relations há 4 anos atrás
migrator a67be2a1f1 Refactor reorder migrator models há 4 anos atrás
schema fe24c3f105 Setup tests script há 4 anos atrás
tests fe24c3f105 Setup tests script há 4 anos atrás
utils e509b3100d Implement callbacks há 4 anos atrás
.gitignore b9cce2be6a Add clause, DB API, model definition há 4 anos atrás
License 1b4490fd47 Add MIT License file há 9 anos atrás
README.md 206174c932 Change gorm.io links to https há 5 anos atrás
association.go b9cce2be6a Add clause, DB API, model definition há 4 anos atrás
callbacks.go 62dcd7896a Add Migrator há 4 anos atrás
chainable_api.go 6d58b62fd4 Add sqlite migration tests há 4 anos atrás
finisher_api.go 1895d281bf Add migrator tests for mysql há 4 anos atrás
go.mod a67be2a1f1 Refactor reorder migrator models há 4 anos atrás
gorm.go 215f5e7765 Add Raw, Row, Rows há 4 anos atrás
helpers.go 62dcd7896a Add Migrator há 4 anos atrás
interfaces.go fab7d96da5 Add DataTypeOf for dialector há 4 anos atrás
migrator.go fab7d96da5 Add DataTypeOf for dialector há 4 anos atrás
statement.go 6d58b62fd4 Add sqlite migration tests há 4 anos atrás
wercker.yml fe24c3f105 Setup tests script há 4 anos atrás

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