What is the best way to organize code within a Go project?

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

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

    An opinionated guideline to structure & develop a Go web application/service

    https://awesome-go.com is a good place for aggregated resources. Also regarding code organization, I've done something, which l follow till date, https://github.com/bnkamalesh/goapp

  • wtf

    WTF Dial is an example web application written in Go. (by benbjohnson)

    Ben Johnson has some great writes about this https://www.gobeyond.dev/author/benbjohnson/ And a example project https://github.com/benbjohnson/wtf

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • burp

    Somehow idiomatic Go service (by audrenbdb)

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