Comment on Eradicating N+1s: The Two-Phase Data Load and Render Pattern in GoparentComments−jimbokun2yNow 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.
Comments
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.