Skip to content
/ gorm Public

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

License

Notifications You must be signed in to change notification settings

go-gorm/gorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8e7ab46 · May 22, 2025
Apr 17, 2025
May 21, 2025
Jan 12, 2025
Apr 27, 2025
Jan 12, 2025
Nov 14, 2024
May 22, 2025
May 7, 2025
Aug 22, 2024
Jul 14, 2022
Apr 17, 2025
Oct 17, 2024
Jan 12, 2025
Nov 7, 2023
Jun 12, 2024
Mar 26, 2024
Jun 24, 2024
Apr 26, 2024
Sep 14, 2024
Nov 21, 2024
Nov 21, 2024
May 22, 2025
Aug 19, 2023
Oct 30, 2023
Feb 18, 2023
Apr 25, 2025
Feb 13, 2025
Feb 1, 2023
Jun 24, 2024
Dec 23, 2023

Repository files navigation

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