You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generate a slice of "valid" values for an enum #1721
Activity
AidanWelch commentedon Oct 14, 2024
In my opinion, a map would be even better for this
jamietanna commentedon Apr 30, 2026
I'd say that #2227 partially solves this
renom commentedon Sep 3, 2026
Good idea 👍
renom commentedon Sep 7, 2026
I think the list (slice) can still be helpful. For example if I have to validate the complete list of possible values, not only a single value.