1 2 3 4 5 6 7
func map_list_to_map_map(maplist map[string][]string) map[string]map[string]bool { out := make(map[string]map[string]bool) for section, list := range maplist { out[section] = list_to_map(list) } return out }