The Wayback Machine - https://web.archive.org/web/20200620050721/https://github.com/go-gorm/gorm
Skip to content
The fantastic ORM library for Golang, aims to be developer friendly (v2 is under public testing...)
Go Shell
Branch: master
Clone or download

Latest commit

Latest commit 3d8f6f9 Jun 19, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github add githubAction CI for tests (#3057) Jun 17, 2020
callbacks Test ForeignKeyConstraints Jun 19, 2020
clause Test GroupConditions Jun 19, 2020
logger Fix package path Jun 2, 2020
migrator Test ForeignKeyConstraints Jun 19, 2020
schema Test ForeignKeyConstraints Jun 19, 2020
tests Test GroupConditions Jun 19, 2020
utils Test ForeignKeyConstraints Jun 19, 2020
.gitignore Add clause, DB API, model definition Jan 29, 2020
License Add MIT License file Jan 5, 2015
README.md Replace godoc badge with pkg.go.dev (#3051) Jun 12, 2020
association.go Rename package name Jun 2, 2020
callbacks.go Refactor Execute callbacks Jun 8, 2020
chainable_api.go Fix statement modifier support Jun 14, 2020
errors.go Add SavePoint/RollbackTo/NestedTransaction Jun 19, 2020
finisher_api.go Add SavePoint/RollbackTo/NestedTransaction Jun 19, 2020
go.mod Refactor tests files Jun 2, 2020
go.sum Add go.sum Jun 6, 2020
gorm.go Add DB method Jun 17, 2020
interfaces.go Add SavePoint/RollbackTo/NestedTransaction Jun 19, 2020
migrator.go Refactor for performance Jun 8, 2020
model.go Fix typo Jun 9, 2020
prepare_stmt.go Add PrepareStmt support Jun 5, 2020
scan.go Allow scan into float close #1373 Jun 14, 2020
soft_delete.go Rename package name Jun 2, 2020
statement.go Test GroupConditions Jun 19, 2020
statement_test.go Spelling fix for "condtion" -> "condition" (#3042) Jun 8, 2020
wercker.yml Add SavePoint/RollbackTo/NestedTransaction Jun 19, 2020

README.md

GORM

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

go report card wercker status Join the chat at https://gitter.im/jinzhu/gorm Open Collective Backer Open Collective Sponsor MIT license Go.Dev reference

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

You can’t perform that action at this time.