package demo

import "strings"

// summarize joins the provided labels into a compact line.
func summarize(labels []string) string {
	if len(labels) == 0 {
		return "none"
	}
	return strings.Join(labels, ", ")
}
