Creating an API using Go and sqlc

This page summarizes the projects mentioned and recommended in the original post on dev.to

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
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. Squirrel

    Fluent SQL generation for golang

    use some lib that facilitates SQL generation, like Squirrel

  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. post-sqlc

    Code used in a post about sqlc.dev

    db.go - contains the interfaces, structs, and constructors

  4. go-sqlmock

    Sql mock driver for golang to test database interactions

    For that, I used the lib go-sqlmock. So, for example, the following snippet is part of the person/service_test.go file:

  5. sqlc

    Generate type-safe code from SQL

    I will present in this post a project that fits in the last category: sqlc.

  6. sqlx

    general purpose extensions to golang's database/sql

    Implement the Repository interface by writing the queries in code, perhaps using some solution like Squirrel or sqlx.

  7. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
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

  • TypeSQL: 2x Faster SQL Query builder with complete spec support.

    6 projects | /r/golang | 23 Apr 2022
  • Ws4sqlite: Query SQLite via HTTP

    8 projects | news.ycombinator.com | 10 Mar 2022
  • [Question] Working with databases/storing data in Go applications.

    4 projects | /r/golang | 29 Jan 2022
  • Go Tool: (exploring) sqlc (Part 1)

    8 projects | dev.to | 15 Feb 2021
  • Timescale Is Now TigerData

    5 projects | news.ycombinator.com | 17 Jun 2025

Did you know that Go is
the 4th most popular programming language
based on number of references?