enum
Type safe enums for Go without code generation or reflection (by orsinium-labs)
sheriff
Conditional marshalling for Go (by liip)
enum | sheriff | |
---|---|---|
1 | 1 | |
331 | 239 | |
3.3% | 0.0% | |
7.3 | 5.9 | |
about 1 month ago | 2 months ago | |
Go | Go | |
MIT License | BSD 3-clause "New" or "Revised" 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.
enum
Posts with mentions or reviews of enum.
We have used some of these posts to build our list of alternatives
and similar projects.
sheriff
Posts with mentions or reviews of sheriff.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Best way to deal with partially filled structs
You could use this library https://github.com/liip/sheriff to achieve it through groups.
What are some alternatives?
When comparing enum and sheriff you can also consider the following projects:
xreflect - A simple and user-friendly reflection utility library.
jettison - Highly configurable, fast JSON encoder for Go
reflections - High level abstractions over the Go reflect library
jsmu - An abstraction for Go's encoding/json that abstracts 2-pass encoding into a single pass similar to encoding/gob.