code: func sendEvent(ev event.Event) {
  	if ev.SampleRate == -1 {
  		// drop the event!
  		logrus.WithFields(logrus.Fields{
  			"event": ev,
  		}).Debug("droppped event due to sampling")
  		return
  	}
  	libhEv := libhoney.NewEvent()
  	libhEv.Metadata = ev
  	libhEv.Timestamp = ev.Timestamp
  	libhEv.SampleRate = uint(ev.SampleRate)
  	if err := libhEv.Add(ev.Data); err != nil {
  		logrus.WithFields(logrus.Fields{
  			"event": ev,
  			"error": err,
  		}).Error("Unexpected error adding data to libhoney event")
  	}
  	if err := libhEv.SendPresampled(); err != nil {
  		logrus.WithFields(logrus.Fields{
  			"event": ev,
  			"error": err,
  		}).Error("Unexpected error event to libhoney send")
  	}
  }
docs: // sendEvent does the actual handoff to libhoney