SaaSHub helps you find the best software and product alternatives Learn more →
Enumer Alternatives
Similar projects and alternatives to enumer
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a better enumer alternative or higher similarity.
enumer discussion
enumer reviews and mentions
Posts with mentions or reviews of enumer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-04-26.
- Goenums: Type Safe Enum Generator for Go
-
Enums in Go
I’ve found the enumer [0] library does the job of generating usable helpers without too much pain or any obvious downsides.
Still, the lack of enums and enum/sum types remains by far my biggest gripe about Go.
[0] https://github.com/dmarkham/enumer
- Go Enums Still Suck
-
Go isn't the right tool for ANY job
Just use const blocks, iota and enumer and be happy.
-
Does Go not have enums in the sense that I can use them as a type?
Define your type as an alias on int and values using iota as others have said, then autogenerate the rest of the functionality from other languages with https://github.com/dmarkham/enumer
-
Safer Enums in Go
We tried out struct-based enums like this for a while and they're definitely better than the vanilla version, but they still have the problem of "how do you iterate over all the values?" and "how do you create an enum value from a string?". We chanced upon https://github.com/dmarkham/enumer a few months ago and have been very happy so far.
Use enumer in combination with what some of this article.
- What I'd like to see in Go 2.0
-
A note from our sponsor - SaaSHub
www.saashub.com | 14 Aug 2026
Stats
Basic enumer repo stats
8
522
3.8
7 months ago
dmarkham/enumer is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
The primary programming language of enumer is Go.