(inputs ...map[string]string)
| 21 | } |
| 22 | |
| 23 | func MergeFlagsWithoutRemovingEmpty(inputs ...map[string]string) map[string]string { |
| 24 | output := map[string]string{} |
| 25 | |
| 26 | for _, input := range inputs { |
| 27 | for name, value := range input { |
| 28 | output[name] = value |
| 29 | } |
| 30 | } |
| 31 | return output |
| 32 | } |
| 33 | |
| 34 | func BuildArgs(flags map[string]string) []string { |
| 35 | args := make([]string, 0, len(flags)) |
no outgoing calls
no test coverage detected
searching dependent graphs…