Looking for some ORM/db access layer suggestions

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

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

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

  • ent

    An entity framework for Go

    I’ve gorm before but I personally didnt like it. https://entgo.io/ looks great and is what I will be trying next.

  • 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.

  • gobuffalo/pop

    A Tasty Treat For All Your Database Needs (by gobuffalo)

  • goose

    A database migration tool. Supports SQL migrations and Go functions.

    Use goose or golang-migrate to create separate migration cmd

  • migrate

    Database migrations. CLI and Golang library.

    Use goose or golang-migrate to create separate migration cmd

  • sqlf

    sqlf generates parameterized SQL statements in Go, sprintf style

    We use https://github.com/keegancsmith/sqlf at work for building queries, its very enjoyable. It feels like using fmt.Sprintf but everything is properly parameterized

  • upper.io/db

    Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

    You might want to give https://upper.io/ a try

  • 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.

  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

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