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.
- Host: GitHub
- URL: https://github.com/tideland/go-slices
- Owner: tideland
- License: bsd-3-clause
- Created: 2022-07-24T20:03:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T08:08:38.000Z (over 2 years ago)
- Last Synced: 2025-04-05T21:35:18.750Z (9 months ago)
- Topics: go, golang, golang-package, higher-order-functions, slices
- Language: Go
- Homepage:
- Size: 82 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Tideland Go Slices
[](https://github.com/tideland/go-slices)
[](https://raw.githubusercontent.com/tideland/go-slices/main/LICENSE)
[](https://github.com/tideland/go-slices/blob/main/go.mod)
[](https://pkg.go.dev/mod/tideland.dev/go/slices?tab=packages)
[](https://github.com/tideland/go-slices/actions/)
[](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)