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