golang-standards/project-layout: Standard Go Project Layout
This is a basic layout for Go application projects. Note that it's basic in terms of content because it's focusing only on the general layout and not what you have inside. It's also basic because it's very high level and it doesn't go into great details in terms of how you can structure your project even further. For example, it doesn't try to cover the project structure you'd have with something like Clean Architecture. This is NOT an official standard defined by the core Go dev team. This is a set of common historical and emerging project layout patterns in the Go ecosystem. Some of these patterns are more popular than others. It also has a number of small enhancements along with several supporting directories common to any large enough real world application. Note that the core Go team provides a great set of general guidelines about structuring Go projects and what it means for your project when it's imported and when it's installed. See the Organizing a Go module page in the offic
Translations: 한국어 문서 简体中文 正體中文 简体中文 - ??? Français 日本語 Português Español Română Русский Türkçe Italiano Tiếng Việt Українська Indonesian हिन्दी فارسی Беларуская বাংলা Overview This is a basic layout for Go application projects. Note that it's basic in terms of content because it's focusing only on the general layout and not what you have inside. It's also basic because it's very high level and it doesn't go into great details in terms of how you can structure your project even further. For example, it doesn't try to cover the project structure you'd have with something…
saved by
related reading
- golang packaging, golang package structure, golang package naming convention, golang packages, go package structure, go packages tutorialgolinuxcloud.com
- Frequently Asked Questions (FAQ) - The Go Programming Languagego.dev
- Package names - The Go Programming Languagego.dev
- GitHub - kriasoft/Folder-Structure-Conventions: Folder / directory structure options and naming conventions for software projectsgithub.com
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- Go go-to guide · YourBasicyourbasic.org
- Go import local package & golang import package from another directorygolinuxcloud.com
- Effective Go - The Go Programming Languagego.dev
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- The Go Programming Language Specification - The Go Programming Languagego.dev
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- GitHub - nikivdev/go: Go tools, libraries · GitHubgithub.com