Why no src directory?

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • go

    The Go programming language

    This mother of all things has a dedicated src directory, so it really comes down to each project to choose its own file structure.

  • project

    I think it would be so much nicer to have an import path like: github.com/group/project

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • golang-standards/project-layout

    Standard Go Project Layout

    Why src directory? Git repos are for source code, such name is meaningless. For complex projects I prefer using standard go project layout. For single package or single command projects flat repo is OK.

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