GORM

GORM is a ORM library for managing relational database operations developed for the Go language. It offers features such as relationship management, hook (hook) support, automatic migration, and transaction management. It also allows for customizations such as database read/write separation thanks to the plugin architecture.

GO

GORM

100

go-gorm · ORM & Database Tooling

STARS40.0K
FORKS4.3K
COMMITS—
CONTRIBUTORS474
VERSIONv1.9.19
UPDATED7 days ago
goormDatabasesqlMIT
What can it do?
  • You use Struct structures to create, update, and delete on database tables.
  • You manage database operations by querying related data using Preload and Joins methods.
  • With the automatic migration feature, you project changes in struct definitions into the database schema.
Heads up
  • • High number of open issues (558)
User reviews
  • • NeutralGitHub Issue

    GORM v2 is on going

    “Hello All, GORM v2 is under active development ( going to release in the next two months. Before that, I am *NOT* going to merge any pull requests based on the *master* branch. V2 will be overwritten from scratch with similar public API, it would focus on performance, improve…”

  • • NeutralGitHub Issue

    Feature Request: Batch Insert

    “pass in []interface{} to batch insert using db.Create([]interface{})”

Verified against README · Oct 26, 2026 · source

My note

More in: ORM & Database Tooling