The optional type of Golang
Get it by "go get":
go get github.com/ThisIsClark/go-optional
Import it in your project:
import "github.com/ThisIsClark/go-optional"
Create a empty optional by:
op := optional.OptionalEmpty()
Or create an optional with value
optionalData := 1
op := optional.Optionalof(optionalData)