cmd
internal
pkg
共享代码
config
配置文件
api
OpenAPI/Swagger specs, JSON schema files, protocol definition files.
参考
https://github.com/kubernetes/kubernetes/tree/master/api
scripts
build
编译文件
Dockerfile、docker-compose
deployment
docker-compose/kubernetes等配置
参考
https://github.com/golang-standards/project-layout
https://sdgmf.github.io/goproject/
https://github.com/marvincaspar/go-web-app-boilerplate
https://github.com/relunctance/go-best-practice