(value interface{})
| 461 | } |
| 462 | |
| 463 | func interfaceToString(value interface{}) string { |
| 464 | if f, ok := value.(float64); ok { |
| 465 | return strconv.FormatFloat(f, 'f', -1, 64) |
| 466 | } |
| 467 | |
| 468 | return fmt.Sprint(value) |
| 469 | } |
| 470 | |
| 471 | func parseRoutes(input generic.Map, errs *[]error) []models.ManifestRoute { |
| 472 | if !input.Has("routes") { |