You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: payload.go
    path of file: ./repos/cloudprober/metrics/payload
    
    the code of the file until where you have to start completion: // Copyright 2017-2020 The Cloudprober Authors.

    
func parseLabels(labelStr string) [][2]string {
	var labels [][2]string
	for _, l := range strings.Split(labelStr, ",") {
		parts := strings.SplitN(strings.TrimSpace(l), "=", 2)
		if len(parts) != 2 {
			continue
		}
		key, val := strings.TrimSpace(parts[0]), strings.TrimSpace(parts[1])
		// Unquote val if it is a quoted string. strconv returns an error if string
		// is not quoted at all or is unproperly quoted. We use raw string in that
		// case.
		uval, err := strconv.Unquote(val)
		if err == nil {
			val = uval
		}
		labels = append(labels, [2]string{key, val})
	}
	return labels
}