// shouldQuoteSetterValue returns true if string is one of the types in the
// schema, or if the value ends in a ':' (the yaml parser gets confused by
// the ':' at the end unless the value is quoted)
shouldQuoteSetterValue returns true if string is one of the types in the
schema, or if the value ends in a ':' (the yaml parser gets confused by
the ':' at the end unless the value is quoted)
// shouldQuoteSetterValue returns true if string is one of the types in the // schema or if the value ends in a ' : ' ( the yaml parser gets confused by // the ' : ' at the end unless the value is quoted )
func shouldQuoteSetterValue(a []string, schType spec.StringOrArray) bool {
	if schType.Contains("string") {
		return true
	}
	for _, s := range a {
		if strings.HasSuffix(s, ":") {
			return true
		}
	}
	return false
}
func shouldQuoteSetterValue ( a [ ] string , schType spec . StringOrArray ) bool { if schType . Contains ( " " ) { return true } for _ , s := range a { if strings . HasSuffix ( s , " " ) { return true } } return false }
shouldQuoteSetterValue returns true if string is one of the types in the
schema, or if the value ends in a ':' (the yaml parser gets confused by
the ':' at the end unless the value is quoted)
shouldQuoteSetterValue returns true if string is one of the types in the schema or if the value ends in a ' : ' ( the yaml parser gets confused by the ' : ' at the end unless the value is quoted )