go-scaffold
A simple golang scaffolding to help me to create new api projects or workers with golang on k8s.
Patterns
- Struct folder Layout: (Modern Go Application)[https://github.com/sagikazarmark/modern-go-application], (Golang Standard Layout)[https://github.com/golang-standards/project-layout];
Code flow
Development
How to develop with this project.
VS Code and Remote-Control Plugin
- Install Remote-Control plugin on VS Code.
- copy file ./env/application.env.sample to ./env/application.env
- Reopen in Container mode, like this
- Run the command
make hot
, for start with hot reload or on main.go file opened debug with pressing "f5".