Layered Design in Go - iRi
This post will describe how I design my programs in Go. I needed this
for work, and while I searched for a link, nothing quite fits my
coding practices out there. The word “Layered” can pull up some fairly
close descriptions, but I want to lay out what I do.
Deriving Some Requirements
Go has a rule that I believe is underappreciated in its utility and
whose implications are often not fully grasped, which is: Packages may
not circularly reference each other. It is strictly forbidden. A
compile er...
Read more at jerf.org