option-go
A generic optional type library for golang like the rust option enum (by joetifa2003)
optional
Optional is a library of optional Go types (by markphelps)
option-go | optional | |
---|---|---|
2 | 2 | |
7 | 208 | |
- | - | |
10.0 | 4.2 | |
over 1 year ago | 10 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.
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)
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?
What are some alternatives?
When comparing option-go and optional you can also consider the following projects:
gobetter - GO Better - code generator for struct required fields
golang-database-library-orm-example - Examples of using various popular database libraries and ORM in Go.
optional-types
go-octokit - Simple Go wrapper for the GitHub API
three - syscall/js bindings for three.js in-browser 3D graphics.
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