optional
Optional is a library of optional Go types (by markphelps)
go-optional
A library that provides Go Generics friendly "optional" features. (by moznion)
Our great sponsors
optional | go-optional | |
---|---|---|
2 | 2 | |
207 | 132 | |
- | - | |
4.2 | 6.0 | |
10 months ago | about 2 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.
optional
Posts with mentions or reviews of 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?
A quick google search finds this library - it mentions returning optionalT which to me implies it uses generics, but I can’t confirm it does as I haven’t learnt Go yet and don’t know the syntax!
- What kind of things have you ran with go:generate?
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:
What are some alternatives?
When comparing optional and go-optional you can also consider the following projects:
golang-database-library-orm-example - Examples of using various popular database libraries and ORM in Go.
exhaustive - Check exhaustiveness of switch statements of enum-like constants in Go source code.
gobetter - GO Better - code generator for struct required fields
std - An enhanced version of the standard library based the new Generics feature.
three - syscall/js bindings for three.js in-browser 3D graphics.
go-octokit - Simple Go wrapper for the GitHub API
serde - Serialization framework for Rust
ent - An entity framework for Go
ioccc-obfuscated-c-contest - IOCCC International Obfuscated C code contest entries
GORM - The fantastic ORM library for Golang, aims to be developer friendly