Releases: go-andiamo/gopt
Releases · go-andiamo/gopt
v1.6.1
Added converters and ExtractJsonPath()
v1.5.0
Added Default
method
Also added OptMap
v1.4.0
- Added
WasSetElse...()
methods
OrElsePanic
method now returns original optional (if it doesn't panic)
- Tidied up to all being pointer receiver methods
v1.3.1
Improved support for chain calls
v1.3.0
- Added
GetOk()
method
- Added
IfElse()
method
- Introduced
NotPresent
error
- Added protection against nil functions
OrElseError()
now returns default NotPresent
error if supplied error is nil
v1.2.0
Added IfSet()
and IfSetOtherwise()
methods
v1.0.1
Removed DoWith
(which was the same as IfPresent
)