what's your experience writing sql with go?

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • GitHub repo Squirrel

    Fluent SQL generation for golang

    For programatically built SQL statements, I like: https://github.com/Masterminds/squirrel

  • GitHub repo caliban

    Crap Management Database (by JoelPagliuca)

    I enjoyed the abstraction layer of gorm up until I started doing some more hairy relationships (an example) and I found the documentation at the time didn't fully explain these edge cases and struct tags (basically +1 to your comment about gorm)

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo social

    social network in GRPC, Go, mysql, and vuejs,

    I made a write up related to this topic https://github.com/imran31415/social

  • GitHub repo sq

    Type safe SQL query builder and struct mapper for Go

    I'm a big fan of go-structured-query. I quite like the code generation of tables from a database schema, as well as the core struct mapper feature both for reads/writes to the database, which keep the domain entities clean of any struct tags.

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