3 ms·
Golang doesn't have enums
by apta 7y ago
Golang doesn't have enums
- 5trokerac3 7y agoNeither does JS, but there are ways to accomplish the same thing[0]. [0] https://stackoverflow.com/questions/14426366/what-is-an-idiomatic-way-of-representing-enums-in-go https://stackoverflow.com/questions/14426366/what-is-an-idio...