I think go http package + any router is the best combo and its SQL package is much more easier to write and to maintain than Gorm.

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Echo

    High performance, minimalist Go web framework

  • I think go echo https://echo.labstack.com/ keeps things relatively low and most middle ware things are just one liners and the jwt package is pretty amazing at being understood.

  • migrate

    Database migrations. CLI and Golang library.

  • We chose golang-migrate for simplicity, maturity, and flexibility. We embedded the library and migrations (believing we'd just run any migrations on startup) but it also gave us the ability to change our mind later - which we did

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • sqlc

    Generate type-safe code from SQL

  • The next step would be https://sqlc.dev/ for static analysis of your SQL queries and Go-type matching

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