How golang-standards/project-layout works
This repository is a generic Go project-layout template, not an implemented application or runtime library. Its README describes where application entry points, private code, and reusable public packages belong; the tree contains placeholders only, so there is no concrete user-to-result workflow to map. The only indexed source file is go.mod. The graph therefore shows documented layout roles, not inspected runtime calls.
Main entry points: cmd App entry points · app Private app code · pkg Public libraries · internal/pkg Private shared packages
Components 10
Application code
- App entry points
cmd - Private app code
internal/app - Private shared packages
internal/pkg
Go libraries
- Public libraries
pkg
Project support
- API definitions
api - Configuration
configs - Deployment assets
deployments - Web assets
web - Go module
go.mod
Other components
- Project developer
Connections 5
- Project developer → App entry points: creates apps
README.md - App entry points → Private app code: invokes privately
README.md - App entry points → Public libraries: imports libraries
README.md - Private app code → Private shared packages: may share code
README.md - Project developer → Public libraries: publishes reusable code
README.md