code: func formatEventSource(es api.EventSource) string {
  	EventSourceString := []string{es.Component}
  	if len(es.Host) > 0 {
  		EventSourceString = append(EventSourceString, es.Host)
  	}
  	return strings.Join(EventSourceString, ", ")
  }
docs: // formatEventSource formats EventSource as a comma separated string excluding Host when empty