The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu 3d8f6f9cf9 Test GroupConditions 2020-06-20 01:55:30 +08:00
.github add githubAction CI for tests (#3057) 2020-06-17 20:29:37 +08:00
callbacks Test ForeignKeyConstraints 2020-06-20 01:20:18 +08:00
clause Test GroupConditions 2020-06-20 01:55:30 +08:00
logger Fix package path 2020-06-02 09:25:55 +08:00
migrator Test ForeignKeyConstraints 2020-06-20 01:20:18 +08:00
schema Test ForeignKeyConstraints 2020-06-20 01:20:18 +08:00
tests Test GroupConditions 2020-06-20 01:55:30 +08:00
utils Test ForeignKeyConstraints 2020-06-20 01:20:18 +08:00
.gitignore Add clause, DB API, model definition 2020-01-29 19:22:44 +08:00
License Add MIT License file 2015-01-05 08:59:18 +08:00
README.md Replace godoc badge with pkg.go.dev (#3051) 2020-06-12 20:00:55 +08:00
association.go Rename package name 2020-06-02 09:18:01 +08:00
callbacks.go Refactor Execute callbacks 2020-06-08 22:32:35 +08:00
chainable_api.go Fix statement modifier support 2020-06-14 12:18:46 +08:00
errors.go Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +08:00
finisher_api.go Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +08:00
go.mod Refactor tests files 2020-06-02 10:50:38 +08:00
go.sum Add go.sum 2020-06-06 14:28:59 +08:00
gorm.go Add DB method 2020-06-17 19:57:54 +08:00
interfaces.go Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +08:00
migrator.go Refactor for performance 2020-06-08 17:21:26 +08:00
model.go Fix typo 2020-06-09 12:00:43 +08:00
prepare_stmt.go Add PrepareStmt support 2020-06-05 11:40:24 +08:00
scan.go Allow scan into float close #1373 2020-06-14 19:18:48 +08:00
soft_delete.go Rename package name 2020-06-02 09:18:01 +08:00
statement.go Test GroupConditions 2020-06-20 01:55:30 +08:00
statement_test.go Spelling fix for "condtion" -> "condition" (#3042) 2020-06-08 11:38:51 +08:00
wercker.yml Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +08:00

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