-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated README.md file and go.mod file to require go 1.19 instead of …
…go 1.18
- Loading branch information
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,19 @@ | |
|
||
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. | ||
- 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:* | ||
|
||
```bash | ||
go get github.com/jucardi/[email protected] | ||
``` | ||
--- | ||
|
||
##### Quick Start | ||
|
||
|
@@ -12,6 +24,16 @@ To keep up to date with the most recent version: | |
go get github.com/jucardi/go-streams | ||
``` | ||
|
||
Using Golang Modules | ||
```bash | ||
go get github.com/jucardi/go-streams@latest | ||
``` | ||
|
||
For the latest version without Golang Generics (v1.0.3) | ||
```bash | ||
go get github.com/jucardi/[email protected] | ||
``` | ||
|
||
##### 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/jucardi/go-streams | ||
|
||
go 1.19 | ||
go 1.18 | ||
|
||
require github.com/stretchr/testify v1.8.1 | ||
|
||
|