Rust like result and option implementation for golang
-
Updated
Aug 30, 2022 - Go
Rust like result and option implementation for golang
A simple and ergonomic optional type for Go.
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 library that provides Go Generics friendly "optional" features.
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.
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."