by stevvooe · 13y ago · 0 comments
Actually, you should use map[rhubarb]struct{} since a struct{} requires no storage. You can test membership with this:
_, ok := m[strawberryRhubarb]
No comments yet.