The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu e2a360b9fa Add Before/After callbacks 2020-02-23 21:22:35 +08:00
.github Simplify GitHub templates 2018-02-10 13:55:11 +08:00
callbacks Add Before/After callbacks 2020-02-23 21:22:35 +08:00
clause Add Before/After callbacks 2020-02-23 21:22:35 +08:00
dialects Explain SQL for dialects 2020-02-23 12:41:13 +08:00
logger Make inesrt into db works 2020-02-23 19:41:29 +08:00
migrator Refactor reorder migrator models 2020-02-23 08:54:13 +08:00
schema Add Before/After callbacks 2020-02-23 21:22:35 +08:00
tests Make inesrt into db works 2020-02-23 19:41:29 +08:00
utils Refactor logger 2020-02-23 15:07:47 +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 clause, DB API, model definition 2020-01-29 19:22:44 +08:00
callbacks.go Make inesrt into db works 2020-02-23 19:41:29 +08:00
chainable_api.go Add sqlite migration tests 2020-02-22 20:57:29 +08:00
finisher_api.go Add migrator tests for mysql 2020-02-22 23:08:20 +08:00
go.mod Refactor reorder migrator models 2020-02-23 08:54:13 +08:00
gorm.go Add Raw, Row, Rows 2020-02-22 19:41:01 +08:00
helpers.go Add Migrator 2020-02-20 23:04:03 +08:00
interfaces.go Add Before/After callbacks 2020-02-23 21:22:35 +08:00
migrator.go Add DataTypeOf for dialector 2020-02-22 17:53:57 +08:00
statement.go Make inesrt into db works 2020-02-23 19:41:29 +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