Hacker News new | ask | show | jobs
by jimbokun 920 days ago
Now that Go has generics, you can write “map_slice” in a few lines then use it everywhere. I’ve done it myself.

Not sure why they haven’t added it to the standard library.