code: func ToArray(value interface{}) (values []string) {
  	switch value := value.(type) {
  	case []string:
  		values = []string{}
  		for _, v := range value {
  			if v != "" {
  				values = append(values, v)
  			}
  		}
  	case []interface{}:
  		for _, v := range value {
  			values = append(values, fmt.Sprint(v))
  		}
  	default:
  		if value := fmt.Sprint(value); value != "" {
  			values = []string{value}
  		}
  	}
  	return
  }
docs: // ToArray get array from value, will ignore blank string to convert it to array