safwanvk / lazy-becomes-prolific

Working examples for the use of code generation tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Generation Examples for the Lazy

build and test

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.

Tools and Techniques Used

  • 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

About

Working examples for the use of code generation tools


Languages

Language:Shell 56.2%Language:C 21.6%Language:Go 11.7%Language:Makefile 5.8%Language:Dockerfile 4.7%