How do you guys structure your web development projects?

I’ve been sticking with a standard MVC-ish structure for now, but I recently watched Kat Zien’s talk on Go app structure and discovered some new methods. What are you guys using right now, and why?

I’m currently figuring that out myself. At the moment I’m trying out domain logic with a thinner cli or webserver wrapper around.

It means I can have a cli interface to run tasks etc and the server should be separate from the actual application itself.

Coming from a Ruby / PHP background I’m finding it tricky to wrap my head around good structure in Go plus how to handle singleton or global dependencies - Everything seems to be gravitating towards a massive god struct but I can’t figure out how to share my dependencies well especially when I divide into packages.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.