Rust-like Go Safe Types (Option, Result)
-
Updated
Dec 11, 2023 - Go
Rust-like Go Safe Types (Option, Result)
Package nul implements a nullable optional-type, for the Go programming language. In other programming languages, an optional-type might be know as: a option-type, or a maybe-type.
Package opt implements an optional-type, for the Go programming language. In other programming languages, an optional-type might be know as: a option type, or a maybe type.
optional.go is a simple and generic wrapper around a value and a presence flag inspired by C++'s std::optional
A simple and ergonomic optional type for Go.
Rust like result and option implementation for golang
Add a description, image, and links to the optional-type topic page so that developers can more easily learn about it.
To associate your repository with the optional-type topic, visit your repo's landing page and select "manage topics."