go-enum
An enum generator for go (by abice)
gotype
Golang source code parsing, usage like reflect package (by wzshiming)
Our great sponsors
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
Posts with mentions or reviews of go-enum.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-08.
-
How to do Enums in Go
Looks like this does what you want: https://github.com/abice/go-enum
gotype
Posts with mentions or reviews of gotype.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning gotype yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing go-enum and gotype you can also consider the following projects:
goderive - Derives and generates mundane golang functions that you do not want to maintain yourself
GoWrap - GoWrap is a command line tool for generating decorators for Go interfaces
goverter - Generate type-safe Go converters by simply defining an interface
typeregistry - create type dynamically in Golang
go-xray - Helpers for making the use of reflection easier
generis - Versatile Go code generator.