Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Code Generation in Go

via Pluralsight

Overview

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.

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.

Syllabus

  • Course Overview 1min
  • Introduction & Overview 7mins
  • Review Generation Tools (Packaged) 5mins
  • Review Generation Tools (In-source) 4mins
  • Advanced Go Generate Flags 4mins
  • Overview of Templates 11mins
  • Templates - Variables 12mins
  • Templates - Conditionals 7mins
  • Templates - Loop 8mins
  • Templates - Functions 7mins
  • Closure and Links 1min

Taught by

Corneile Britz

Reviews

Start your review of Code Generation in Go

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.