gothinkster / golang-gin-realworld-example-app

Exemplary real world application built with Golang + Gin
https://realworld.io
MIT License
2.52k stars 496 forks source link

Why don't put the user module and artilces module in one folder? #16

Closed w4-hanggi closed 4 years ago

w4-hanggi commented 5 years ago

If there will be more such modules, it may be a large directory, isn't it?

wangzitian0 commented 4 years ago

You could be freestyle in your project as the golang don't have a official support for the directory management. FYI two doc: https://tutorialedge.net/golang/go-project-structure-best-practices/ https://github.com/golang-standards/project-layout