code: func (hc *HipChat) SetTemplate(htmlTemplate string) {
  	hc.template = template.Must(template.New("hipchat").Funcs(
  		template.FuncMap{
  			"ts": func(e log.Entry) (ts string) {
  				ts = e.Timestamp.Format(hc.TimestampFormat())
  				return
  			},
  		},
  	).Parse(htmlTemplate))
  }
docs: // SetTemplate sets Hipchats html template to be used for email body