ParentFull threadslekker·You could do the same with a map[Color]struct{} and the lookup would be "if _, ok := Colors[Green]; ok {"View on HN