bugsmithA to Golang • 6 months agoGo Enums Still Suckwww.zarl.devmessage-square13arrow-up122arrow-down13
arrow-up119arrow-down1external-linkGo Enums Still Suckwww.zarl.devbugsmithA to Golang • 6 months agomessage-square13
minus-squareEthanlinkEnglish4•6 months agoYou are correct, Go doesn’t have enums. The const thing is a widely accepted pattern for approximating enums.
You are correct, Go doesn’t have enums. The const thing is a widely accepted pattern for approximating enums.