(modules []string)
| 103 | } |
| 104 | |
| 105 | func 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 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…