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.
Go to file
Charles Iliya Krempeaux 258a41bedc change contact info in LICENSE 2022-08-08 08:57:37 -07:00
string re-generated 2017-05-19 15:30:14 -07:00
LICENSE change contact info in LICENSE 2022-08-08 08:57:37 -07:00
README.md initial commit 2017-05-18 11:20:02 -07:00
doc.go added docs 2017-05-18 11:56:21 -07:00

README.md

go-opt

Package opt provides alternatives to Go's built-in types (bool, float64, int64, string, time.Time) that also let you express a "lack of a value"; for the Go programming language; these are similar to "option types" or "maybe types" in some other programming languages.

(Code for this was generated using https://github.com/reiver/gogen-optiontype )

Documention

Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-opt

GoDoc