Can anyone help me on how you are using golang with databases in production systems?

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

    PostgreSQL driver and toolkit for Go

  • Is it better to use tools like [pgx](https://github.com/jackc/pgx) or stick with a ORM like GORM.

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

    Database migrations. CLI and Golang library.

  • The tool for migration I use this -> https://github.com/golang-migrate/migrate.

  • sqlc

    Generate type-safe code from SQL

  • Personally I prefer not using an ORM and just use https://sqlc.dev/ which generates idiomatic go code.

  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

  • I use sqlboiler which generates an ORM from your database, and sql-migrate which is a tool for managing SQL migrations. Although you have to write your migrations in SQL, which IMHO is a plus.

  • sql-migrate

    SQL schema migration tool for Go.

  • I use sqlboiler which generates an ORM from your database, and sql-migrate which is a tool for managing SQL migrations. Although you have to write your migrations in SQL, which IMHO is a plus.

  • crbackend

  • you can have a look at this project https://github.com/shubhamdixit863/crbackend/tree/master i have create a simple api with elasticsearch as backend ,with hexagonal design architecture ,in a similar fashion you can design something with any db

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

  • Anything like sqlc for Rust?

    5 projects | /r/rust | 1 Jan 2023
  • Is it just me who doesn't agree with db first ORM model?

    2 projects | /r/golang | 9 Apr 2022
  • Show HN: Riza – Safely run untrusted code from your app

    1 project | news.ycombinator.com | 30 Apr 2024
  • Give Up Sooner

    1 project | dev.to | 13 Mar 2024
  • ORMs are nice but they are the wrong abstraction

    7 projects | news.ycombinator.com | 1 Feb 2024