We all have at some point wished some tool could write that piece of code we repeat over and over again. Some have written a library or small framework for that, but they can only go so far. A few have written a code generator. Besides most of us have written code dealing with sensitive information, such as password or OAuth and JWT tokens.
In this talk, I'll walk through how to write a code generator, using the tooling available in Go. Our code generator will aim to generate code to help us to keep sensitive information safe.