Skip to main content
GORM is the most popular ORM library for Go, with full support for associations, hooks, transactions, migrations, and an extensible plugin system.

Quickstart

Get up and running with GORM in 5 minutes

Connecting to a database

MySQL, PostgreSQL, SQLite, SQL Server

CRUD Operations

Create, read, update, and delete records

API Reference

Full reference for the DB type and all methods

Build docs developers (and LLMs) love