code: func (d *Death) WaitForDeathWithFunc(f func()) {
  	d.wg.Wait()
  	d.log.Info("Shutdown started...")
  	f()
  }
docs: // WaitForDeathWithFunc allows you to have a single function get called when it's time to
  // kill your application.