go-enum-example
Go Enum: benchmarks, examples, analysis (by nikolaydubina)
go-enumer
✨ Go-Enums with Magic ✨ (by mvrahden)
go-enum-example | go-enumer | |
---|---|---|
3 | 2 | |
6 | 13 | |
- | - | |
3.2 | 4.9 | |
6 days ago | about 1 month ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" 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
go-enumer
Posts with mentions or reviews of go-enumer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-15.
-
Flume/enthistory - History Tables For Ent
For enum types compatible with ’ent’ have a look at https://github.com/mvrahden/go-enumer
-
Go 1.20 released
try this: https://github.com/mvrahden/go-enumer
What are some alternatives?
When comparing go-enum-example and go-enumer you can also consider the following projects:
go-recipes - 🦩 Tools for Go projects
flagvar - A collection of CLI argument types for the Go `flag` package.
enthistory - History tables for ent
golangci-lint - Fast linters Runner for Go
go-enum - An enum generator for go
enumer - A Go tool to auto generate methods for your enums
edit-twitter-example-app - an example app imitating twitter with an edit button