func mustPublish(record string) { err := mdns.Publish(record) if err != nil { log.Fatalf(`Unable to publish record "%s": %s`, record, err) } }
func mustPublish(rr string) { if err := mdns.Publish(rr); err != nil { log.Fatalf(`Unable to publish record "%s": %v`, rr, err) } }