package metadata func copyOf(v []string) []string { vals := make([]string, len(v)) copy(vals, v) return vals }