Comparing database/sql, GORM, sqlx, and sqlc

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

  • Moved all my projects to https://github.com/volatiletech/sqlboiler.

  • jet

    Type safe SQL builder with code generation and automatic query result data mapping

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

    A Simple and Powerful Golang SQL Library (by VinGarcia)

  • Has anyone given a serious look into ksql? https://github.com/VinGarcia/ksql

  • ent

    An entity framework for Go

  • Personally, I've used a mix of these tools: GORM, Pop, and ent. I think so far, https://entgo.io/ has to be my favorite. I found the learning curve to be pretty straightforward and like how you can represent fairly complex relationships because of the data model and code generation capabilities they have. Also, automatic migrations with a choice to generate migration files. Although, I don't think there's as big of a community around this tooling.

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

  • Any mid sized / big open source code base in golang that makes use of SQL DBs?

    4 projects | /r/golang | 18 Feb 2023
  • Decent examples querying models from Postgres

    6 projects | /r/golang | 5 Sep 2022
  • ORMs are nice but they are the wrong abstraction

    7 projects | news.ycombinator.com | 1 Feb 2024
  • Go ORMs Compared

    5 projects | dev.to | 18 Jan 2024
  • denodb VS denodata - a user suggested alternative

    2 projects | 29 Nov 2023