code: func (a *StringArray) UnmarshalYAML(unmarshal func(interface{}) error) error {
  	var strings []string
  	if err := unmarshal(&strings); err != nil {
  		var str string
  		if err := unmarshal(&str); err != nil {
  			return err
  		}
  		*a = []string{str}
  	} else {
  		*a = strings
  	}
  	return nil
  }
docs: // UnmarshalYAML is a custom unmarshaler that wraps strings in arrays