orms in go

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ent

    An entity framework for Go

  • Ent is a framework we created at Facebook and open-sourced a few years ago, and it has grown a lot since then. You're welcome to give the doc a quick read. Still, a summary is it uses a "schema as code" approach based on code generation with plenty of cool features built-in, such as seamless GraphQL/gRPC/OpenAPI integration, hooks, privacy (authorization support), a templating infra that makes it extensible and much more.

  • atlas

    Manage your database schema as code (by ariga)

  • Atlas isn't an ORM but does migration management.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rambler

    A simple and language-independent SQL schema migration tool

  • just use rambler for migrations. https://github.com/elwinar/rambler

  • tern

    The SQL Fan's Migrator

  • I use tern for migrations. It’s from the same Author as pgx so everything in that ecosystem plays well.

  • gen

    Gen: Friendly & Safer GORM powered by Code Generation

  • Have you tried gorm with their generator code?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts