MCPcopy Index your code
hub / github.com/zalando/skipper / moduleConfig

Function moduleConfig

script/module.go:105–117  ·  view source on GitHub ↗
(modules []string)

Source from the content-addressed store, hash-verified

103}
104
105func moduleConfig(modules []string) map[string][]string {
106 config := make(map[string][]string)
107 for _, m := range modules {
108 if module, symbol, found := strings.Cut(m, "."); found {
109 config[module] = append(config[module], symbol)
110 } else {
111 if _, ok := config[module]; !ok {
112 config[module] = []string{}
113 }
114 }
115 }
116 return config
117}

Callers 1

initScriptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…