Simple play icon Course
Skills Expanded

Code Generation in Go

by Corneile Britz

As professional developers we all get annoyed with doing the same task over and over. This course will teach you how to leverage the built-in capability of Go to auto-generate code in a consistent and predictable manner.

What you'll learn

We are always trying to automate parts of our daily work that would improve our efficiency. In this course, Code Generation in Go, you’ll learn to generate code for your solution using numerous different approaches. First, you’ll explore how to generate code to display strings for your custom enums. Next, you’ll discover how to leverage templates to generate more advanced code. Finally, you’ll learn how to use generics to achieve repeatable code. When you’re finished with this course, you’ll have the skills and knowledge of automating code generation needed to improve your productivity and reduce the amount of repeatable tasks when creating systems.

About the author

I am passionate about driving efficiency through code, automation and transparency, with 20+ years of experience in software development, DevOps, Observability and Reliability Engineering. This led me to become the world's first certified ICAgile DevOps expert, with a drive to provide content and learning to other developers. My day-to-day technical focus is Go, Grafana, Prometheus and VueJS, which are used to build my organisations' own platforms.

Ready to upskill? Get started