3 ms·
I could've sworn we got "sets" in the Go's standard library along with the "maps" module but... apparently not? Huh.
by Joker_vD 11mo ago
I could've sworn we got "sets" in the Go's standard library along with the "maps" module but... apparently not? Huh.
- kevindamm 11mo agoAlmost made it into 1.18 but looks like it doesn't add enough value and has some open questions like what to use for a backing data type and what complexity promises to make. https://github.com/golang/go/discussions/47331 https://github.com/golang/go/discussions/47331
- vips7L 10mo agoHonestly insane in 2025 to not have a generic Set.