Go language gin framework to write restful API, how to organize file directories, can you give some reference?

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.

Sep.03,2021

can refer to this. The standard directory of the go project
https://github.com/golang-sta.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bd1c-2c2ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bd1c-2c2ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?