Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vlyonline/gorm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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

修改版本特别说明

  • 去掉了表名自动转换成小写和加复数(现在struct写什么表名就是什么)
  • 去掉了列名自动转换成小学和加下划线,现在struct写什么就是什么
  • 其它不变,计划未来把 UpdataAt/CreatedAt 变成updated_at/created_at

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%