Modular Programming in Go Part 1: register on init()

Story time 📖A few weeks back I was tasked with writing config driven black box monitoring tool. The requirements included two different handlers each with their own settings and no overlap. Now, in Python I might reach for dispatch pattern where I select the class of handler based on the…