Could I get a code review?

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. pgx

    PostgreSQL driver and toolkit for Go

    Starting off, is there any reason you're calling out to the CLI, instead of just using a Postgres driver like pgx? Shelling out to the command line should always be a last resort where possible as a software engineer.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. regroup

    Match regex group into go struct using struct tags and automatic parsing

    They're supported, but as you said, you have to map them yourself. There's a nifty library that does this for you if you want to save some time.

  4. cobra

    A Commander for modern Go CLI interactions

    This is one of those rare times that almost everyone will universally recommend Cobra to handle CLI utilities. It solves a lot of your pain.

  5. ldap2pg

    :elephant: :busts_in_silhouette: Manage PostgreSQL roles and privileges from YAML or LDAP

  6. go-formatter

    A curated list of awesome Go frameworks, libraries and software

    https://github.com/avelino/awesome-go is always a good place to start.

  7. Gin

    Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

    Use a library for HTTP serving, such as Gin, Chi, or Echo. I personally use Chi, as it's just the right level of abstraction for how I like to work. Despite what others say here, don't try to re-implement everything in a modern serving library using the standard library.

  8. chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Use a library for HTTP serving, such as Gin, Chi, or Echo. I personally use Chi, as it's just the right level of abstraction for how I like to work. Despite what others say here, don't try to re-implement everything in a modern serving library using the standard library.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Echo

    High performance, minimalist Go web framework

    Use a library for HTTP serving, such as Gin, Chi, or Echo. I personally use Chi, as it's just the right level of abstraction for how I like to work. Despite what others say here, don't try to re-implement everything in a modern serving library using the standard library.

  11. viper

    Go configuration with fangs

    Use Viper for config file or environmental variable configuration -- it's going to save you a whole lot of time.

  12. suture

    Supervisor trees for Go. (by thejerf)

    This one is highly specialized, but I'm a huge fan of Suture for managing long lived goroutines.

  13. conc

    Better structured concurrency for go

    I'm also a fan of Conc for managing various different concurrency patterns -- don't create manual worker pools for locally distributed tasks if you can use Conc, etc.

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

  • what's your recommended router? chi, mux, something else?

    7 projects | /r/golang | 10 Apr 2023
  • GitHub examples of Go that's written really well?

    12 projects | /r/golang | 15 Aug 2022
  • Building microservices in Go with Gin

    7 projects | dev.to | 27 Jan 2022
  • Writing an HTTP router for AWS Lambda functions from scratch with Go

    5 projects | dev.to | 20 Oct 2024
  • From Homemade HTTP Router to New ServeMux

    4 projects | dev.to | 26 Apr 2024