Creating Enums type in GO
Ahh ! Why does Go Not support Enums . Well There is a workaround you can use to make Enum like setup in Go. Well Go lang support only string and int as const One of the ways is to do it this way. Create a Type for you Enum and what all you want with ...
Mar 11, 20222 min read87
