18
Go Enums Still Suck
(www.zarl.dev)
This is a community dedicated to the go programming language.
Useful Links:
Rules:
As far as I was aware Go didn't have enums and this
Pattern is just a weird thing people do because it behaves like an enum?
You are correct, Go doesn’t have enums. The const thing is a widely accepted pattern for approximating enums.