go-mnd
Magic number detector for Go. (by tommy-muehle)
freeze
An immutability helper for Go (by lukechampine)
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-mnd
Posts with mentions or reviews of go-mnd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-11.
-
strconv.ParseInt(myID, 10, 32) --> avoid magic numbers like '10'
My bad, you can specify what functions should be ignored see issue https://github.com/tommy-muehle/go-mnd/issues/27
-
Runtime immutability checks library
https://github.com/tommy-muehle/go-mnd makes you think a lot about such constants and how you should call them
freeze
Posts with mentions or reviews of freeze.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-11.
-
Runtime immutability checks library
Sadly freeze illustrates to me a shortcoming of Go of not providing immutability as a language construct. I understand this design choice - simplicity and performance are seen as more important, and language/tool development effort is inevitably constrained.
What are some alternatives?
When comparing go-mnd and freeze you can also consider the following projects:
mimemagic - Powerful and versatile MIME sniffing package using pre-compiled glob patterns, magic number signatures, XML document namespaces, and tree magic for mounted volumes, generated from the XDG shared-mime-info database.
go - The Go programming language
Chronos - Chronos - A static race detector for the go language
immcheck
go-commentage - How far Go comments drifting behind?
go-ruleguard - Define and run pattern-based custom linting rules.
revive - 🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint