Cant understang go structure

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

    Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..

  • I have a very hard time understanding go project structure. I have build a ho project consisting of multiple subpackages and a main.go and it works fine but when I need to build it on a server (heroku) it does not work because imports are absolute. I have even seen Projects like this: https://github.com/mattermost/mattermost-server that have no main.go but can be deployed. Can somebody explain me how to structure my code like in this repo ?

  • cancello-cesana

  • Can you take a look at my project:https://github.com/AlessandroRuggiero/cancello-cesana and tell me how could I change the imports so that someone who got the sources could build it too?

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

    InfluxDB 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