GORM

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

    Generate type-safe code from SQL

  • Gorm is a orn not a api framework. Api frameworks consist of gin, echo, and a few others I can’t name off my head. If you’re looking for a orm(something to simplify the queries you’re building. I would suggest bun or sqlc both are very light weight and fast.

  • Squirrel

    Fluent SQL generation for golang

  • or in general for accessing databases? * sqlx: general purpose extensions to database/sql * sqlc: generate type safe code from queries * squirrel: fluent SQL generator

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

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

  • I'm using gorm for rapid development. But I just use the Gorm query builder and combine it with https://github.com/pressly/goose

  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

  • You mean like ORMs? * sqlboiler: generates Go ORM using database schema.

  • sqlx

    general purpose extensions to golang's database/sql

  • or in general for accessing databases? * sqlx: general purpose extensions to database/sql * sqlc: generate type safe code from queries * squirrel: fluent SQL generator

  • migrate

    Database migrations. CLI and Golang library.

  • regarding migrations? * migrate

  • badger

    Fast key-value DB in Go.

  • I' see that I'm also set to check out BadgerDB next. https://github.com/dgraph-io/badger

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

    PostgreSQL driver and toolkit for Go

  • If u/matimuszynianka is using Postgres for the backend, github.com/jackc/pgx is a fantastic utility. You can use it with vanilla types, or you can use the github.com/jackc/pgx/v5/pgtype library with it, for dealing with nullable columns.

  • bqb

    BQB is a lightweight and easy to use query builder that works with sqlite, mysql, mariadb, postgres, and others.

  • Plug for bqb as a query builder, but there's also squirrel which works pretty well too.

  • dbmate

    :rocket: A lightweight, framework-agnostic database migration tool.

  • sql-migrate

    SQL schema migration tool for Go.

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