What problem does it solve?
Go code often struggles with nullable values, error handling, and composing multiple operations without boilerplate. This Skill introduces monadic types that make absent values and failures explicit, eliminating nil panics and repetitive error checks.
Core Features & Use Cases
- Option, Result, Either: type‑safe containers for nullable data, fallible operations, and alternative outcomes.
- Future, IO, Task, State: advanced abstractions for asynchronous work, deferred side‑effects, and state threading.
- Pipeline sub‑packages: functions like option.Map and result.Pipe3 enable type‑changing transformations and readable chains.
- Do notation: write imperative‑style code that automatically propagates errors via panics caught into a Result.
Use these tools when building Go services that need robust error propagation, database models with nullable fields, or functional pipelines for data processing.
Quick Start
Ask the golang-samber-mo skill to convert a Go function’s (value, error) return into a Result and retrieve the value safely inside a Do block.