Looking for some ORM/db access layer suggestions

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

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • JetBrains - Developer Ecosystem Survey 2022
  • 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.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • 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

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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