IT lexicon › Database › GORM

GORM

Database På svenska → Updated: 2026-05-24
More info
Creator
Jinzhu Zhang
Released
Type
Go ORM
License
MIT
Website

The most popular Go ORM — chained API (db.Where("age > ?", 18).Find(&users)), auto-migration, hooks, transactions.

v2 (2020) was a total rewrite for better performance + plugin architecture. Soft delete, polymorphic associations, callback system. Controversial in the Go community for its "reflection-heavy" approach contrary to clean Go idioms. Competitors: ent (Facebook, code-gen-based), sqlc (generates Go code from SQL), sqlx (thin query wrapper), bun, GoFrame ORM.

← Back to the lexicon