This feature can be implemented with 'map'.
countrySet := map[string]bool{
"US": true,
"JP": true,
"KR": true,
}
But to ease the eyes of readers, 'set' is a necessary data structure.
countrySet := set[string]{"US", "JP", "KR"}
Or init 'map' with keys only. For example:
countrySet := map[string]bool{"US", "JP", "KR"}
Does golang have the plan for supporting syntax like this?