(sep string, allowNil bool)
| 848 | } |
| 849 | |
| 850 | func transformMappingOrListFunc(sep string, allowNil bool) TransformerFunc { |
| 851 | return func(data any) (any, error) { |
| 852 | return transformMappingOrList(data, sep, allowNil), nil |
| 853 | } |
| 854 | } |
| 855 | |
| 856 | func transformMappingOrList(mappingOrList any, sep string, allowNil bool) any { |
| 857 | switch values := mappingOrList.(type) { |
no test coverage detected
searching dependent graphs…