mo

🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)

MIT License

Stars
2.6K
Committers
11

Bot releases are visible (Hide)

mo - v1.13.0 Latest Release

Published by github-actions[bot] 3 months ago

What's Changed

Features

Tools

New Contributors

Full Changelog: https://github.com/samber/mo/compare/v1.12.0...v1.13.0

mo - v1.12.0

Published by github-actions[bot] 4 months ago

What's Changed

Full Changelog: https://github.com/samber/mo/compare/v1.11.0...v1.12.0

mo - v1.11.0

Published by github-actions[bot] about 1 year ago

  • Adding Result[T] Marshaling
mo - v1.10.0

Published by github-actions[bot] about 1 year ago

  • refactor: rename PointerOrNil to ToPointer in order to match other helper names (no breaking change since it was released 15min before)
  • feat: adding option.Errf
mo - v1.9.0

Published by github-actions[bot] about 1 year ago

  • Adding option.PointerOrNil()
  • Result[T] implements driver.Scanner
  • Fix some doc typo
mo - v1.8.0

Published by github-actions[bot] over 1 year ago

Adding support for mo.PointerToOption

mo - v1.7.0

Published by github-actions[bot] almost 2 years ago

Chore:

  • Remove *_test.go files from releases, in order to clean up dev dependencies
mo - v1.6.0

Published by samber almost 2 years ago

Adding:

  • Either.Unpack()
  • EitherX.Unpack()
mo - v1.5.2

Published by samber almost 2 years ago

Bugfix:

  • Fix a deadlock in Future[T].Collect()
mo - v1.5.1

Published by samber about 2 years ago

Fix:

  • typo
  • comments
mo - v1.5.0

Published by samber about 2 years ago

Adding mo.EmptyableToOption

mo - v1.4.0

Published by samber about 2 years ago

Option[T]: Implements sql.Valuer + sql.Scanner + gob.GobEncoder + gob.GobDecoder + encoding.BinaryMarshaler + encoding.BinaryUnmarshaler + encoding.TextMarshaler + encoding.TextUnmarshaler

mo - v1.3.0

Published by samber about 2 years ago

Adding support for Option[T] marshal/unmarshal

mo - v1.2.0

Published by samber about 2 years ago

Adding Either3 + Either4 + Either5

mo - v1.1.0

Published by samber about 2 years ago

Adding Try().

mo - v1.0.1

Published by samber about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/samber/mo/compare/v1.0.0...v1.0.1

mo - v1.0.0

Published by samber over 2 years ago

Initial release 🤘 🚀

Package Rankings
Top 1.61% on Proxy.golang.org
Badges
Extracted from project README
tag GoDoc Go report Coverage License GitHub Sponsors