docs: add local structure notes

This commit is contained in:
2026-04-19 21:14:17 +02:00
parent eceae94063
commit 4e5bca3c33
4 changed files with 26 additions and 4 deletions

11
cmd/README.md Normal file
View File

@@ -0,0 +1,11 @@
# cmd layout
This repository keeps executable entrypoints under `cmd/`.
- `cmd/server`: main web process (`go run ./cmd/server`)
Why this exists:
- Keeps the repository root focused on project metadata (`README.md`, `go.mod`, `Dockerfile`, etc)
- Scales cleanly if more binaries are added later (for example: `cmd/migrate`, `cmd/admin`, `cmd/worker`)
- Matches common Go repository conventions for multi-binary or growing services