GORM

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • 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

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • 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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • 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