Curriculum Idioms & ecosystem Project layout
Project layout
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.
9 ready
01
pick onePick the conventional directory path for the entry-point
02
pick one Pick the statement that's TRUE about the internal/
03
pick onePick the statement that's TRUE about Go's standard
04
fill blanksType the directory name that's the conventional parent
05
fill blanksType the directory name that — when used as a parent of
06
type one line A binary's main.go (under cmd/serverd/main.go) is the
07
type one lineFollowing the "thin main, fat libraries" idiom: write a
08
write a programBuild a small program demonstrating the **thin main +
09
write a programTheme 7.6 capstone — small but realistic CLI shape with