Example Go web app with YAML config.
This is full project structure example of article Let’s write config for your Golang web app on right way — YAML 👌.
Published on Dev.to @ 13 Feb 2020.
1.11+
git clone https://github.com/koddr/example-go-config-yaml.git
cd example-go-config-yaml
# Build server, run tests, collect coverage info and run server:
make
# Only server with default config and without build and coverage info:
make run
# Use your own config file:
go run ./... -config my-config.yml
make show_coverage
If you want to say «thank you»:
Thanks for your support! 😘
MIT