ext

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2025 License: Apache-2.0

README

BuddhoIO Golang Ext

This package contains dependency free language extensions.

The lang package contains building blocks such as Either, Option and Tuple. These patterns help to reduce code duplication and improve function reusability. In general these patterns are used to handle errors, optional values and multiple return values and are common in functional programming languages.

The slices package adds additional functionality to the built-in slice type. This includes but not limited to generic map, filter, flatmap and flatten.

The iter package contains extensions to the golang iter.Seq type. This includes but not limited to generic map, filter, flatmap and flatten. Additionally, it contains adapters to convert things like channels, grpc streams and sql rows to iter.Seq. These extensions are especially helpful when composing multiple data sources into a single iter.Seq.

Directories

Path Synopsis
Package iter is a Go library for working with the golang iter package.
Package iter is a Go library for working with the golang iter package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL