typeover
curriculum

Curriculum Idioms & ecosystem Project layout exercise 4 · fill-word

Project layout

Type the directory name that's the conventional parent for binaries in a multi-binary Go module — each binary gets its own subdirectory under this.

TypeScript reference
Fill the blanks →

About this theme

cmd/<binary-name>/main.go per binary; internal/... for packages that should not be importable by other modules. Outside those two conventions, layout is up to you. The golang-standards/project-layout repo is *not* official and over-prescribes — start small.