4 ms·
> The Go std lib is very complete for important things Important thing like sets[0], or get-with-default from maps[1], or enums[2], or appending-to[3] or mappi
by scubbo 3y ago
> The Go std lib is very complete for important things
Important thing like sets[0], or get-with-default from maps[1], or enums[2], or appending-to[3] or mapping-over[4] slices?
[0] https://stackoverflow.com/questions/34018908/golang-why-dont-we-have-a-set-datastructure/34020023#34020023 https://stackoverflow.com/questions/34018908/golang-why-dont...
[1] https://www.digitalocean.com/community/tutorials/understanding-maps-in-go#checking-existence https://www.digitalocean.com/community/tutorials/understandi...
[2] https://stackoverflow.com/questions/14426366/what-is-an-idiomatic-way-of-representing-enums-in-go https://stackoverflow.com/questions/14426366/what-is-an-idio...
[3] https://go.dev/tour/moretypes/15 https://go.dev/tour/moretypes/15
[4] https://stackoverflow.com/questions/71624828/is-there-a-way-to-map-an-array-of-objects-in-go/71624929#71624929 https://stackoverflow.com/questions/71624828/is-there-a-way-...