This repository is just a showcase example of using Singleton, Factory, Public-subscribe and Command patterns implemented with Go stadnard library. More details and example by example explanations are published on a blog posts:
Part 1: Go meets different patterns (Singleton and Publish-subscriber)
Part 2: Go meets different patterns (Factory and Command pattern)