Skip to content

Commit

Permalink
Updated README.md file and go.mod file to require go 1.19 instead of …
Browse files Browse the repository at this point in the history
…go 1.18
  • Loading branch information
jucardi committed Nov 10, 2022
1 parent 1d14ac5 commit 9ce7292
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
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

Expand Down

0 comments on commit 9ce7292

Please sign in to comment.