(src map[string]FlagValue)
| 1791 | } |
| 1792 | |
| 1793 | func castMapFlagToMapInterface(src map[string]FlagValue) map[string]any { |
| 1794 | tgt := map[string]any{} |
| 1795 | for k, v := range src { |
| 1796 | tgt[k] = v |
| 1797 | } |
| 1798 | return tgt |
| 1799 | } |
| 1800 | |
| 1801 | // mergeMaps merges two maps. The `itgt` parameter is for handling go-yaml's |
| 1802 | // insistence on parsing nested structures as `map[any]any` |
no outgoing calls
no test coverage detected