A repo to host working examples for the use of code generation tools and techniques. Started as part of my Open Source India 2022 talk on the topic Code Generation: How the Lazy Becomes the Prolific (see the speaker page).
Example given here are meant to serve as demos, learning materials and templates for real project at the same time. They include adequate documentation, build scripts and even some basic test scripts, just to encourage test automation. Please refer to the individual README files for more info.
- OpenAPI 3 (tool: oapi-codegen)
- Docker
- multi-stage builds to reduce container size
go mod download
to reduce build time
make
- Very basic test automation with
bash