Web app architecture

I built the architecture for web project development and use the link below
https://github.com/golang-standards/project-layout

Does anybody use the this? Or somebody has best suggestions. The project existed of web app and Restful api. In addition to for future we will plan some image processing modules about collected data

  • That’s a lot of directories. Do you use all of them?
  • This “standard” does not tell us anything about the organization of the code.

I’ve not seen this directory layout before.

But maybe you ask a more specific question. What do you have so far? How did you organize the code?

I don’t use all directories, Now im working on this architecture but it will be a little confused. But some parts of the repo is useful I think. Separate codes under cmd directory, usage of internal and pkg directories
Do you have some recommendation? Maybe more clean architecture and not confused @lutzhorn

There’s a recent discussion about this at reddit, you may want to check it out.

1 Like

Hi guys,

I use this architecture for my project. I think that its more readable and scalable for future

https://hackernoon.com/golang-clean-archithecture-efd6d7c43047

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