modulepackage
0.0.0-20230301173011-aabb4b4edfe1
Repository: https://github.com/facily-tech/go-scaffold.git
Documentation: pkg.go.dev
# README
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 Containers Plugin
- 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".
# Variables
Embeds has the entire ./embeds directory embed in read-only mode
go:embed embeds/* env/*.