lblt 14dae9b6ac update 1 tháng trước cách đây
..
callbacks 14dae9b6ac update 1 tháng trước cách đây
clause 14dae9b6ac update 1 tháng trước cách đây
internal 14dae9b6ac update 1 tháng trước cách đây
logger 14dae9b6ac update 1 tháng trước cách đây
migrator 14dae9b6ac update 1 tháng trước cách đây
schema 14dae9b6ac update 1 tháng trước cách đây
utils 14dae9b6ac update 1 tháng trước cách đây
.gitignore 14dae9b6ac update 1 tháng trước cách đây
.golangci.yml 14dae9b6ac update 1 tháng trước cách đây
CODE_OF_CONDUCT.md 14dae9b6ac update 1 tháng trước cách đây
LICENSE 14dae9b6ac update 1 tháng trước cách đây
README.md 14dae9b6ac update 1 tháng trước cách đây
association.go 14dae9b6ac update 1 tháng trước cách đây
callbacks.go 14dae9b6ac update 1 tháng trước cách đây
chainable_api.go 14dae9b6ac update 1 tháng trước cách đây
errors.go 14dae9b6ac update 1 tháng trước cách đây
finisher_api.go 14dae9b6ac update 1 tháng trước cách đây
gorm.go 14dae9b6ac update 1 tháng trước cách đây
interfaces.go 14dae9b6ac update 1 tháng trước cách đây
migrator.go 14dae9b6ac update 1 tháng trước cách đây
model.go 14dae9b6ac update 1 tháng trước cách đây
prepare_stmt.go 14dae9b6ac update 1 tháng trước cách đây
scan.go 14dae9b6ac update 1 tháng trước cách đây
soft_delete.go 14dae9b6ac update 1 tháng trước cách đây
statement.go 14dae9b6ac update 1 tháng trước cách đây

README.md

GORM

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

go report card test status MIT license Go.Dev reference

Overview

  • Full-Featured ORM
  • Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism, Single-table inheritance)
  • Hooks (Before/After Create/Save/Update/Delete/Find)
  • Eager loading with Preload, Joins
  • Transactions, Nested Transactions, Save Point, RollbackTo to Saved Point
  • Context, Prepared Statement Mode, DryRun Mode
  • Batch Insert, FindInBatches, Find To Map
  • SQL Builder, Upsert, Locking, Optimizer/Index/Comment Hints, NamedArg, Search/Update/Create with SQL Expr
  • Composite Primary Key
  • Auto Migrations
  • Logger
  • Extendable, flexible plugin API: Database Resolver (Multiple Databases, Read/Write Splitting) / Prometheus…
  • Every feature comes with tests
  • Developer Friendly

Getting Started

Contributing

You can help to deliver a better GORM, check out things you can do

Contributors

Thank you for contributing to the GORM framework!

License

© Jinzhu, 2013~time.Now

Released under the MIT License