liuxiulin 1921cb4c51 first commit há 1 mês atrás
..
callbacks 1921cb4c51 first commit há 1 mês atrás
clause 1921cb4c51 first commit há 1 mês atrás
logger 1921cb4c51 first commit há 1 mês atrás
migrator 1921cb4c51 first commit há 1 mês atrás
schema 1921cb4c51 first commit há 1 mês atrás
utils 1921cb4c51 first commit há 1 mês atrás
.gitignore 1921cb4c51 first commit há 1 mês atrás
License 1921cb4c51 first commit há 1 mês atrás
README.md 1921cb4c51 first commit há 1 mês atrás
association.go 1921cb4c51 first commit há 1 mês atrás
callbacks.go 1921cb4c51 first commit há 1 mês atrás
chainable_api.go 1921cb4c51 first commit há 1 mês atrás
errors.go 1921cb4c51 first commit há 1 mês atrás
finisher_api.go 1921cb4c51 first commit há 1 mês atrás
gorm.go 1921cb4c51 first commit há 1 mês atrás
interfaces.go 1921cb4c51 first commit há 1 mês atrás
migrator.go 1921cb4c51 first commit há 1 mês atrás
model.go 1921cb4c51 first commit há 1 mês atrás
prepare_stmt.go 1921cb4c51 first commit há 1 mês atrás
scan.go 1921cb4c51 first commit há 1 mês atrás
soft_delete.go 1921cb4c51 first commit há 1 mês atrás
statement.go 1921cb4c51 first commit há 1 mês atrás

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