func formatName(str []string) string {
	// BUG: Go's string package has a bug in which unicode punctuation aren't
	// accounted for - will fail "with apostrophes" test
	// FIXME: Either find a workaround for this or wait til new golang patch
	var endStr []string
	for _, word := range str {
		tmp := strings.Title(strings.ToLower(word))
		endStr = append(endStr, tmp)
	}
	return strings.Join(endStr, " ")
}
// helper func to format search names for pretty printing
//
// Example: []{"tHiS", "iS", "A", "WORD"}
//
// will become: This Is A Word
helper func to format search names for pretty printing



will become: This Is A Word
// helper func to format search names for pretty printing // // Example : [] { " tHiS " " iS " " A " " WORD " } // // will become : This Is A Word
func formatName(str []string) string {
	var endStr []string
	for _, word := range str {
		tmp := strings.Title(strings.ToLower(word))
		endStr = append(endStr, tmp)
	}
	return strings.Join(endStr, " ")
}
func formatName ( str [ ] string ) string { var endStr [ ] string for _ , word := range str { tmp := strings . Title ( strings . ToLower ( word ) ) endStr = append ( endStr , tmp ) } return strings . Join ( endStr , " " ) }
helper func to format search names for pretty printing
helper func to format search names for pretty printing
// BUG: Go's string package has a bug in which unicode punctuation aren't // accounted for - will fail "with apostrophes" test // FIXME: Either find a workaround for this or wait til new golang patch