The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu d81179557d Add tests for Tables 2020-05-31 10:24:49 +08:00
.github Simplify GitHub templates 2018-02-10 13:55:11 +08:00
callbacks Fix mssql rename index, has column 2020-05-31 07:57:13 +08:00
clause Add tests for Columns 2020-05-31 00:42:52 +08:00
dialects Add tests for Tables 2020-05-31 10:24:49 +08:00
logger Add tests for Columns 2020-05-31 00:42:52 +08:00
migrator Add tests for Tables 2020-05-31 10:24:49 +08:00
schema Test Migrate Indexes 2020-05-30 22:43:41 +08:00
tests Add tests for Tables 2020-05-31 10:24:49 +08:00
utils Refactor create tests 2020-05-23 22:32:16 +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 Add SoftDelete support 2020-05-29 07:35:45 +08:00
callbacks.go Test HasMany Association for Slice 2020-05-25 11:57:58 +08:00
chainable_api.go Add SoftDelete support 2020-05-29 07:35:45 +08:00
errors.go Test Many2Many Association 2020-05-26 00:16:44 +08:00
finisher_api.go Test UpdateColumn 2020-05-30 17:34:22 +08:00
go.mod Fix Scanner tests on mssql 2020-05-31 01:21:16 +08:00
gorm.go Fix RenameColumn for mssql, DropColumn for sqlite 2020-05-31 09:03:51 +08:00
interfaces.go AddVar accept writer 2020-03-09 17:59:54 +08:00
migrator.go Add tests for Tables 2020-05-31 10:24:49 +08:00
model.go Add SoftDelete support 2020-05-29 07:35:45 +08:00
scan.go Fix Scanner tests on mssql 2020-05-31 01:21:16 +08:00
soft_delete.go Add SoftDelete support 2020-05-29 07:35:45 +08:00
statement.go Add Scanner, Valuer tests 2020-05-30 21:05:27 +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