what's your experience writing sql with go?

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

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SonarQube - Static code analysis for 29 languages.
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • Squirrel

    Fluent SQL generation for golang

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

  • orbitmatrix

    Crap Management Database

    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)

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • social

    social network in GRPC, Go, mysql, and vuejs, (by imran31415)

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

  • 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