Полезные материалы по всему, что может быть полезно разработчику на Go.
Create Robust "Enums" in Go While Go doesn't have proper enums, you can create a more robust enum-like construct using interfaces and structs.
While Go doesn't have proper enums, you can create a more robust enum-like construct using interfaces and structs.