how does the gin framework of go language write restful API, to organize file directories? can you give me some reference?
searched in github, Jianshu, Zhihu, medium, etc.,
is either too simple, a main.go is over,
or multifarious, do not see the idea of organizing file directories.
question:
ask the boss to give some examples to illustrate the idea of file organization. The so-called train of thought is to explain where is the api, where is the route, where is the model, and where is the configuration file. Wait, what things should be separated, what things should be put together, and so on.