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 reddit.com/r/golang

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • migrate

    Database migrations. CLI and Golang library.

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

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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