minus-squareSolemarc@lemmy.worldtoGolang@programming.dev•Go Enums Still Sucklinkfedilinkarrow-up2·1 year agoAs far as I was aware Go didn’t have enums and this const() Pattern is just a weird thing people do because it behaves like an enum? linkfedilink
As far as I was aware Go didn’t have enums and this
const()
Pattern is just a weird thing people do because it behaves like an enum?