Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gorm

> 编程语言
Free

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

40.0K stars0 likes1 views
WebsiteGitHub

About

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

GORM

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

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

  • GORM Guides https://gorm.io
  • Gen Guides https://gorm.io/gen/index.html

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

Issues· 541 open

View all issuesOpen on GitHub
  • #7869

    M2M associations do not work with map and NoLowerCase used in the NamingStrategy

    type:with reproduction stepsUpdated Sep 25, 2026
  • #7812

    Generics API: allow JoinTarget to override association join table

    type:with reproduction stepsUpdated Sep 19, 2026
  • #7855

    First retains stale *time.Time when reloading a selected SQL NULL into an existing struct

    type:with reproduction stepsUpdated Sep 12, 2026
  • #7195

    Add support for google.protobuf.Timestamp field

    status:staletype:feature_requestUpdated Sep 10, 2026
  • #7583

    slog logger: individual queries should be logged with level "Debug"

    type:with reproduction stepsUpdated Sep 7, 2026
  • #7192

    Support go1.23 iterators

    status:staletype:feature_requestUpdated Sep 5, 2026
  • #7850

    Support db.G[T]() with Go 1.27 generic methods

    type:feature_requestUpdated Sep 1, 2026
  • #7842

    Can we use Go 1.27 UUID with GORM & GORM CLI?

    type:questionUpdated Aug 31, 2026
  • #7844

    ParameterizedQueries is not honoured by DB.Scan

    type:with reproduction stepsUpdated Aug 27, 2026
  • #7843

    在 PG 数据库中的自动更新时间

    type:missing reproduction stepsstatus:staleUpdated Aug 25, 2026

> Tags

Gogogolanggorm

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 4, 2026
Category编程语言
PricingFree

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言