go-optional
A library that provides Go Generics friendly "optional" features. (by moznion)
std
An enhanced version of the standard library based the new Generics feature. (by go-board)
go-optional | std | |
---|---|---|
2 | 1 | |
132 | 19 | |
- | - | |
6.0 | 6.8 | |
about 2 months ago | about 2 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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-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-03-10.
-
What “sucks” about Golang?
Here's one that uses generics, here's a more elaborate one.
-
Published go-optional: Generics Go friendly optional/option type library
You can see the basic usage of this in the synopsis and examples. Currently, this brings the following utility option functions:
std
Posts with mentions or reviews of std.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-13.
What are some alternatives?
When comparing go-optional and std you can also consider the following projects:
exhaustive - Check exhaustiveness of switch statements of enum-like constants in Go source code.
fpGo - Monad, Functional Programming features for Golang
gobetter - GO Better - code generator for struct required fields
go - The Go programming language
go-octokit - Simple Go wrapper for the GitHub API
goptional - An implementation of the Optional functor in Golang.
swiss - Golang port of Abseil's SwissTable