Does this project structure make sense?

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • the-insulter

    Webapp for learning go and swearing in a beautiful way

    The link is https://github.com/alesanmed/the-insulter

  • SaaSHub

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

    SaaSHub logo
  • fx

    A dependency injection based application framework for Go. (by uber-go)

    Also, I like to use Uber FX for my DI stuff. You can check it out here:https://github.com/uber-go/fx

  • goose

    A database migration tool. Supports SQL migrations and Go functions.

    For database migration I recommend https://github.com/pressly/goose As it works with sqlc and is a powerful tool for complex migrations. This is something a lot of ORMs are really weak with. I was on a large project with Gorm as the ORM and what a nightmare when we pushed to production!

  • sqlc

    Generate type-safe code from SQL

    I am not a big fan of ORMs as you already know SQL and work with a SQL GUI like DBeaver and now the query you tested there has to be translated into the crazy ORM syntax. Check out https://sqlc.dev as you can paste that query right in a text file and generate the code for. Only have to maintain SQL.

  • goa

    🌟 Goa: Elevate Go API development! πŸš€ Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨

    I typically use Goa for my controller. It makes the API Controller, API models, and OpenAPI Documentation. Making the OpenAPI documentation can be a pain, so this really helps. https://goa.design/

  • golang-standards/project-layout

    Standard Go Project Layout

    You can skip the top-level pkg β€” it’s not needed or recommended. +1 for Fx πŸ€—

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

  • How to handle migrations in Golang

    5 projects | dev.to | 11 Jun 2024
  • Using migrations with Golang

    5 projects | dev.to | 17 Apr 2024
  • Looking for elegant code bases written in GoLang

    6 projects | /r/golang | 9 Dec 2023
  • API completa em Golang - Parte 1

    8 projects | dev.to | 1 Dec 2023
  • Building RESTful API with Hexagonal Architecture in Go

    21 projects | dev.to | 27 Sep 2023

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