lxg bcf8e9b91d 初始化仓库 4 vuotta sitten
..
clause bcf8e9b91d 初始化仓库 4 vuotta sitten
logger bcf8e9b91d 初始化仓库 4 vuotta sitten
schema bcf8e9b91d 初始化仓库 4 vuotta sitten
utils bcf8e9b91d 初始化仓库 4 vuotta sitten
.gitignore bcf8e9b91d 初始化仓库 4 vuotta sitten
License bcf8e9b91d 初始化仓库 4 vuotta sitten
README.md bcf8e9b91d 初始化仓库 4 vuotta sitten
association.go bcf8e9b91d 初始化仓库 4 vuotta sitten
callbacks.go bcf8e9b91d 初始化仓库 4 vuotta sitten
chainable_api.go bcf8e9b91d 初始化仓库 4 vuotta sitten
errors.go bcf8e9b91d 初始化仓库 4 vuotta sitten
finisher_api.go bcf8e9b91d 初始化仓库 4 vuotta sitten
go.mod bcf8e9b91d 初始化仓库 4 vuotta sitten
go.sum bcf8e9b91d 初始化仓库 4 vuotta sitten
gorm.go bcf8e9b91d 初始化仓库 4 vuotta sitten
interfaces.go bcf8e9b91d 初始化仓库 4 vuotta sitten
migrator.go bcf8e9b91d 初始化仓库 4 vuotta sitten
model.go bcf8e9b91d 初始化仓库 4 vuotta sitten
prepare_stmt.go bcf8e9b91d 初始化仓库 4 vuotta sitten
scan.go bcf8e9b91d 初始化仓库 4 vuotta sitten
soft_delete.go bcf8e9b91d 初始化仓库 4 vuotta sitten
statement.go bcf8e9b91d 初始化仓库 4 vuotta sitten

README.md

GORM

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

go report card test status Open Collective Backer Open Collective Sponsor 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 Statment 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

License

© Jinzhu, 2013~time.Now

Released under the MIT License