The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu 2218e32999 Allow customize table name with TableName 2020-06-02 15:48:19 +08:00
.github Simplify GitHub templates 2018-02-10 13:55:11 +08:00
callbacks Rename package name 2020-06-02 09:18:01 +08:00
clause Refactor tests files 2020-06-02 10:50:38 +08:00
logger Fix package path 2020-06-02 09:25:55 +08:00
migrator Rename package name 2020-06-02 09:18:01 +08:00
schema Allow customize table name with TableName 2020-06-02 15:48:19 +08:00
tests Refactor tests files 2020-06-02 10:50:38 +08:00
utils Refactor tests files 2020-06-02 10:50:38 +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 Rename package name 2020-06-02 09:18:01 +08:00
association.go Rename package name 2020-06-02 09:18:01 +08:00
callbacks.go Fix callbacks with Match 2020-06-02 12:46:55 +08:00
chainable_api.go Rename package name 2020-06-02 09:18:01 +08:00
errors.go Improve Hooks 2020-06-01 00:12:20 +08:00
finisher_api.go Rename package name 2020-06-02 09:18:01 +08:00
go.mod Refactor tests files 2020-06-02 10:50:38 +08:00
gorm.go Returns ping error 2020-06-02 11:09:17 +08:00
interfaces.go Rename package name 2020-06-02 09:18:01 +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 Rename package name 2020-06-02 09:18:01 +08:00
soft_delete.go Rename package name 2020-06-02 09:18:01 +08:00
statement.go Fix order by primary key if it is not defined 2020-06-02 11:30:21 +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