A common question developers new to Go have is "How do I organize my Go project?", in terms of the layout of files and folders. The goal of this document is to provide some guidelines that will help answer this question. To make the most of this document, make sure you're familiar with the basics of Go modules by reading the tutorial and managing module source.

Go projects can include packages, command-line programs or a combination of the two. This guide is organized by project type.

continue reading on go.dev

⚠️ This post links to an external website. ⚠️