Looking for some ORM/db access layer suggestions

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

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. GORM

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

  2. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  3. 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.

  4. gobuffalo/pop

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

  5. goose

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

    Use goose or golang-migrate to create separate migration cmd

  6. migrate

    Database migrations. CLI and Golang library.

    Use goose or golang-migrate to create separate migration cmd

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

  8. upper.io/db

    Data Access Layer (DAL) for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

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

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. 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

  • Which ORM framework are you using with golang, and why?

    11 projects | /r/golang | 10 Sep 2022
  • I made SQL easy in Go

    2 projects | dev.to | 2 Feb 2025
  • Some Go web dev notes

    16 projects | news.ycombinator.com | 29 Sep 2024
  • GORM, PostgreSQL & Atlas

    4 projects | dev.to | 12 Aug 2024
  • TypeScript dev tools in the Golang world

    1 project | dev.to | 1 May 2024

Did you know that Go is
the 4th most popular programming language
based on number of references?