An open API service indexing awesome lists of open source software.

https://github.com/tideland/go-slices

Process typed Go slices via generics and higher-order functions.
https://github.com/tideland/go-slices

go golang golang-package higher-order-functions slices

Last synced: 4 months ago
JSON representation

Process typed Go slices via generics and higher-order functions.

Awesome Lists containing this project

README

          

# Tideland Go Slices

[![GitHub release](https://img.shields.io/github/release/tideland/go-slices.svg)](https://github.com/tideland/go-slices)
[![GitHub license](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://raw.githubusercontent.com/tideland/go-slices/main/LICENSE)
[![Go Module](https://img.shields.io/github/go-mod/go-version/tideland/go-slices)](https://github.com/tideland/go-slices/blob/main/go.mod)
[![GoDoc](https://godoc.org/tideland.dev/go/slices?status.svg)](https://pkg.go.dev/mod/tideland.dev/go/slices?tab=packages)
[![Workflow](https://github.com/tideland/go-slices/actions/workflows/build.yml/badge.svg)](https://github.com/tideland/go-slices/actions/)
[![Go Report Card](https://goreportcard.com/badge/github.com/tideland/go-slices)](https://goreportcard.com/report/tideland.dev/go/slices)

## Description

**Tideland Go Slices** provides a set of functions for the processing of types slices based
on generics and higher-order functions. This processing contains tests, mappings, filterings,
concatings, deleting, filtering, folding and many more. Opposite to the standard library of
Go with similiar functions like e.g. `Sort()` will not work on the same slice. All functions
return new created slices, even if a variable operation would have no effect.

## Contributors

- Frank Mueller (https://github.com/themue / https://github.com/tideland / https://themue.dev)