enumcheck
Allows to mark Go enum types as exhaustive. (by loov)
texpack
Texture packer with image, font and sdf support. (by adinfinit)
enumcheck | texpack | |
---|---|---|
3 | 1 | |
32 | 8 | |
- | - | |
0.0 | 10.0 | |
about 2 years ago | over 5 years 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.
enumcheck
Posts with mentions or reviews of enumcheck.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-16.
-
Rusty enums in Go
You can write a linter that checks for exhaustiveness. I wrote a proof-of-concept some time ago: https://github.com/loov/enumcheck... so probably doesn't work with generics.
-
Why are enums not a thing in Go?
closed set of enumerated values/types; use a linter, e.g. enumcheck
-
Hacking sum types with Go generics
I wrote a proof-of-concept for checking enum exhaustiveness https://github.com/loov/enumcheck.
texpack
Posts with mentions or reviews of texpack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-22.
-
Why are enums not a thing in Go?
enumerated set based on file tree; similarly, code generator can help (e.g. see texture packing)
What are some alternatives?
When comparing enumcheck and texpack you can also consider the following projects:
exhaustive - Check exhaustiveness of switch statements of enum-like constants in Go source code.
enumeration - Enumerations for Go - a really useful yet easy-to-use code generator
go-sumtype - A simple utility for running exhaustiveness checks on Go "sum types."
revive - 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint
grype - A vulnerability scanner for container images and filesystems
go - The Go programming language