MediumConceptDesign and production practices
How do you structure a Go project?
What a good answer covers
Keep packages small and cohesive, use cmd/ for binaries and internal/ for private code, name packages by purpose and avoid util-style names and cyclic dependencies.
PreviousA colleague's code ignores errors with _. What do you tell them?Next What is the functional options pattern?