加入CODE CHINA

· 不限速    · 不限空间    · 不限人数    · 私仓免费

免费加入
    README.md

    GORM

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

    go report card test status Join the chat at https://gitter.im/jinzhu/gorm 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 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

    License

    © Jinzhu, 2013~time.Now

    Released under the MIT License

    项目简介

    🚀 Github 镜像仓库 🚀

    源项目地址

    https://github.com/go-gorm/gorm

    发行版本 2

    V1.21.0

    全部发行版

    贡献者 292

    全部贡献者

    开发语言

    • Go 99.9 %
    • Shell 0.1 %