Skip to content

Releases: go-andiamo/gopt

v1.6.1

18 Oct 16:31
eaa1427
Compare
Choose a tag to compare

Added converters and ExtractJsonPath()

v1.6.0

24 Dec 10:50
c297cd4
Compare
Choose a tag to compare

Added map helpers

v1.5.0

13 Dec 08:46
6ce6f0c
Compare
Choose a tag to compare

Added Default method
Also added OptMap

v1.4.0

23 Nov 18:56
d198c36
Compare
Choose a tag to compare
  • 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

15 Nov 08:05
69a0aab
Compare
Choose a tag to compare

Improved support for chain calls

v1.3.0

13 Nov 11:31
02bd5ba
Compare
Choose a tag to compare
  • 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

12 Nov 14:06
a1fbeeb
Compare
Choose a tag to compare

Added IfSet() and IfSetOtherwise() methods

v1.1.0

12 Nov 13:02
996ffcb
Compare
Choose a tag to compare

Introduced set flag

v1.0.1

11 Nov 18:24
18deeb0
Compare
Choose a tag to compare

Removed DoWith (which was the same as IfPresent)

v1.0.0

11 Nov 08:50
532d6e1
Compare
Choose a tag to compare

Initial Release