optional
Optional is a library of optional Go types (by markphelps)
option-go
A generic optional type library for golang like the rust option enum (by joetifa2003)
Our great sponsors
optional | option-go | |
---|---|---|
2 | 2 | |
207 | 7 | |
- | - | |
4.2 | 10.0 | |
10 months ago | over 1 year 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?
option-go
Posts with mentions or reviews of option-go.
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.
- Option - a generic package to define optional types without pointers (like rust enum)
What are some alternatives?
When comparing optional and option-go you can also consider the following projects:
golang-database-library-orm-example - Examples of using various popular database libraries and ORM in Go.
gobetter - GO Better - code generator for struct required fields
optional-types
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
go - The Go programming language