(allowList []string)
| 456 | } |
| 457 | |
| 458 | func ConvertAllowList(allowList []string) map[string]struct{} { |
| 459 | allowMap := make(map[string]struct{}, len(allowList)) |
| 460 | for _, group := range allowList { |
| 461 | allowMap[group] = struct{}{} |
| 462 | } |
| 463 | return allowMap |
| 464 | } |
no outgoing calls
no test coverage detected