(value any, allowNil bool)
| 964 | } |
| 965 | |
| 966 | func toString(value any, allowNil bool) any { |
| 967 | switch { |
| 968 | case value != nil: |
| 969 | return fmt.Sprint(value) |
| 970 | case allowNil: |
| 971 | return nil |
| 972 | default: |
| 973 | return "" |
| 974 | } |
| 975 | } |
| 976 | |
| 977 | func toStringList(value map[string]any, separator string, allowNil bool) []string { |
| 978 | output := []string{} |
no test coverage detected
searching dependent graphs…