// stringListToMap turns a comma-separated list of strings into pseudo-set that maps all elements of the list to true
stringListToMap turns a comma-separated list of strings into pseudo-set that maps all elements of the list to true
// stringListToMap turns a comma - separated list of strings into pseudo - set that maps all elements of the list to true
func stringListToMap(opt string) map[string]bool {
	res := map[string]bool{}
	tmp := strings.Split(opt, ",")
	for _, t := range tmp {
		res[t] = true
	}
	return res
}
func stringListToMap ( opt string ) map [ string ] bool { res := map [ string ] bool { } tmp := strings . Split ( opt , " " ) for _ , t := range tmp { res [ t ] = true } return res }
stringListToMap turns a comma-separated list of strings into pseudo-set that maps all elements of the list to true
stringListToMap turns a comma - separated list of strings into pseudo - set that maps all elements of the list to true