MCPcopy Create free account
hub / github.com/efficientgo/e2e / MergeFlags

Function MergeFlags

cli.go:12–21  ·  view source on GitHub ↗
(inputs ...map[string]string)

Source from the content-addressed store, hash-verified

10}
11
12func MergeFlags(inputs ...map[string]string) map[string]string {
13 output := MergeFlagsWithoutRemovingEmpty(inputs...)
14
15 for k, v := range output {
16 if v == "" {
17 delete(output, k)
18 }
19 }
20 return output
21}
22
23func MergeFlagsWithoutRemovingEmpty(inputs ...map[string]string) map[string]string {
24 output := map[string]string{}

Callers 1

NewConsulFunction · 0.92

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…