{"repo":"jucardi/go-streams","free":true,"listed":false,"github":"https://github.com/jucardi/go-streams","clone":"git clone https://github.com/jucardi/go-streams.git","description":"Stream Collections for Go. Inspired in Java 8 Streams and .NET Linq","language":"Go","stars":330,"topics":["golang","go","streams","collection","collections","linq","stream-collections","foreach","filter","stream"],"license":"MIT","category":"dev-tools","readme_excerpt":"Stream Collections for Go, inspired in Java 8 Streams and .NET Linq This library provides - structs to easily represent and manage collections and iterable of elements which size are not necessarily defined. - Stream structs to support functional-style operations on streams of elements, such as map-reduce transformations on collections, filtering, sorting, mapping, foreach parallel operations. --- (Nov 2022) Important Update: This library has been redesigned to support Golang Generics , and it is not backwards compatible with the previous version. Also requires at least Go 1.18. If you require the older version without generics or a version that is compatible with an older version of Go, using Golang Modules you may get the latest stable version without generics by running the following command: --- Quick Start To keep up to date with the most recent version: Using Golang Modules For the latest version without Golang Generics (v1.0.3) Quick Overview Streams facilitate operations on arrays, iterables and collections, such as filtering , sorting , mapping , foreach , and parallel operations on the items contained by these arrays, iterables or collections A quick example: Given the following array Let's obtain an array of only the elements that start with the letter \"p\" The resulting array will be {\"peach\", \"pear\", \"pineapple\", \"plum\"} Here we use an array of string as the source of the stream, perform a filter operation provided by a function that receives a single element of t","default_branch":null,"files":null,"tree":[],"storefront":"/r/jucardi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jucardi/go-streams/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}