typeover
curriculum

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

Project layout

Type the directory name that — when used as a parent of packages — enforces "importable only from the same module" at the compiler level.

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.