ref to #715
@gxthrj please set right lable
please check the other issues you have created: label and milestone
2.1 is ok for me, but not sure if it's a big project to reactor api's directory at that time ๐ค
A popular go project layout is like:
.
โโโ build-tools
โโโ cmd
โย ย โโโ manager-api
โโโ conf # default config path
โโโ logs
โโโ output
โย ย โโโ conf
โย ย โโโ dag-to-lua
โโโ pkg
โย ย โโโ config
โย ย โโโ entity
โย ย โโโ filter
โย ย โโโ handler
โย ย โย ย โโโ authentication
โย ย โย ย โโโ consumer
โย ย โย ย โโโ healthz
โย ย โย ย โโโ plugin
โย ย โย ย โโโ route
โย ย โย ย โโโ service
โย ย โย ย โโโ ssl
โย ย โย ย โโโ upstream
โย ย โโโ log
โย ย โโโ storage
โย ย โโโ store
โย ย โโโ utils
โย ย โโโ consts
โโโ test
โโโ docker
โโโ e2e
โโโ shell
Note this is only a demonstration not the ultimate one.
related resources: https://github.com/golang-standards/project-layout
Also, we can obey the uber-go style guide.
Most helpful comment
Also, we can obey the uber-go style guide.