This is a simple logrus hook for sending your exceptions to the HoneyBadger service.
Check the logrus documentation for seeing how to configure a hook, but basically, the needed part for this one is:
log.AddHook(honeybadger.NewHook("apikey", "live", 5*time.Second))
You can as well check the example code in the repo.