3 ms·
Regarding the “iota dance,” I wrote my 2 cents on what could be a slightly more robust approach a couple of days ago: https://preslav.me/2023/03/17/create-robus
by p5v 4y ago
Regarding the “iota dance,” I wrote my 2 cents on what could be a slightly more robust approach a couple of days ago: https://preslav.me/2023/03/17/create-robust-enums-in-golang/ https://preslav.me/2023/03/17/create-robust-enums-in-golang/
P.S generic type sets make it even better. I’ll write an update to my post these days.