Finding The Best Go Project Structure

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
  • This two part series is about the journey to find the best project structure for Go, what decisions were made based on exploration, and the conclusions An open-source template repository for the final structure, and a branch containing a tiny example project is also created.

  • go-backend-clean-architecture

    A Go (Golang) Backend Clean Architecture project with Gin, MongoDB, JWT Authentication Middleware, Test, and Docker.

  • I find this one nice https://github.com/amitshekhariitbhu/go-backend-clean-architecture

  • 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
  • kubernetes

    Production-Grade Container Scheduling and Management

  • What is the advantage of putting all your packages in pkg/? There is no difference if you have that folder or not, it's just personal preference. Most popular open source projects do not do this. Are you saying "Kubernetes is using Go wrong"?

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