The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu 922a8efc53 Generate Query Conds for Relationship 2020-05-19 21:50:06 +08:00
.github Simplify GitHub templates 2018-02-10 13:55:11 +08:00
callbacks Refacotr Preload 2020-05-18 13:07:11 +08:00
clause Add joins support 2020-04-15 09:45:43 +08:00
dialects Fix check has column, index for sqlite 2020-04-12 13:22:52 +08:00
logger Add context to logger 2020-05-05 21:28:38 +08:00
migrator Fix create join table 2020-04-29 20:37:06 +08:00
schema Generate Query Conds for Relationship 2020-05-19 21:50:06 +08:00
tests Test many2many associations 2020-05-14 15:05:04 +08:00
utils Test Preload for BelongsTo/HasOne/HasMany 2020-05-14 14:41:33 +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 Change gorm.io links to https 2019-05-05 16:23:52 +08:00
association.go Generate Query Conds for Relationship 2020-05-19 21:50:06 +08:00
callbacks.go Add context to logger 2020-05-05 21:28:38 +08:00
chainable_api.go Add joins support 2020-04-15 09:45:43 +08:00
errors.go Handle preload 2020-05-07 10:03:48 +08:00
finisher_api.go Add permission check when create associations 2020-04-16 10:29:18 +08:00
go.mod Add QuoteTo method 2020-03-08 23:30:16 +08:00
gorm.go Add save associations for bulk create 2020-04-19 23:11:56 +08:00
interfaces.go AddVar accept writer 2020-03-09 17:59:54 +08:00
migrator.go Add DataTypeOf for dialector 2020-02-22 17:53:57 +08:00
model.go Refactor structure 2020-03-09 14:25:50 +08:00
statement.go Implement preload support 2020-05-14 12:19:12 +08:00
wercker.yml Setup tests script 2020-02-23 09:38:51 +08:00

README.md

GORM

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

go report card wercker status codecov Join the chat at https://gitter.im/jinzhu/gorm 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