opt
A simple and ergonomic optional type for Go. (by Southclaws)
go-optional
A go package for wrapping types with Optionals to represent the lack of value without pointers. (by leighmcculloch)
opt | go-optional | |
---|---|---|
1 | 1 | |
34 | 38 | |
- | - | |
3.5 | 3.8 | |
3 months ago | 11 months 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.
opt
Posts with mentions or reviews of opt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-10.
go-optional
Posts with mentions or reviews of go-optional.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-10.
-
Optional types and utilities for ergonomic data transformations
This is a trick I saw in https://github.com/leighmcculloch/go-optional/ it certainly makes things easier and the only cost is the debugger displays the values in a slightly more awkward way since it's a slice under the hood.
What are some alternatives?
When comparing opt and go-optional you can also consider the following projects:
null - reasonable handling of nullable values
scala-lang - sources for the Scala language website