go-enum-example
Go Enum: benchmarks, examples, analysis (by nikolaydubina)
enum
Type safe enums for Go without code generation or reflection (by orsinium-labs)
go-enum-example | enum | |
---|---|---|
3 | 1 | |
6 | 332 | |
- | 3.3% | |
3.2 | 7.3 | |
7 days ago | about 1 month ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-enum-example
Posts with mentions or reviews of go-enum-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-29.
-
Compile-time safety for enumerations in Go
interesting approach! but I typically use this method for type constraints.
for enums I prefer just direct structs: https://github.com/nikolaydubina/go-enum-example
-
Create Robust "Enums" in Go
Here is my notes, if you are interested: https://github.com/nikolaydubina/go-enum-example
- Blog on enums in Go: benchmarks; issues; assembly
enum
Posts with mentions or reviews of enum.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing go-enum-example and enum you can also consider the following projects:
go-enumer - ✨ Go-Enums with Magic ✨
sheriff - Conditional marshalling for Go
go-recipes - 🦩 Tools for Go projects
xreflect - A simple and user-friendly reflection utility library.