Skip to content

Commit 9ce7292

Browse files
committed
Updated README.md file and go.mod file to require go 1.19 instead of go 1.18
1 parent 1d14ac5 commit 9ce7292

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22

33
This library provides
44
- structs to easily represent and manage collections and iterable of elements which size are not necessarily defined.
5-
- Stream structs to support functional-style operations on streams of elements, such as map-reduce transformations on collections, filtering, sorting, mapping, foreach parallel operations.
5+
- Stream structs to support functional-style operations on streams of elements, such as map-reduce transformations on
6+
collections, filtering, sorting, mapping, foreach parallel operations.
7+
8+
---
9+
***(Nov 2022) Important Update:** This library has been redesigned to support **Golang Generics**, and it is not backwards
10+
compatible with the previous version. Also requires at least Go 1.18. If you require the older version without generics
11+
or a version that is compatible with an older version of Go, using Golang Modules you may get the latest stable version
12+
without generics by running the following command:*
13+
14+
```bash
15+
go get github.com/jucardi/[email protected]
16+
```
17+
---
618

719
##### Quick Start
820

@@ -12,6 +24,16 @@ To keep up to date with the most recent version:
1224
go get github.com/jucardi/go-streams
1325
```
1426

27+
Using Golang Modules
28+
```bash
29+
go get github.com/jucardi/go-streams@latest
30+
```
31+
32+
For the latest version without Golang Generics (v1.0.3)
33+
```bash
34+
go get github.com/jucardi/[email protected]
35+
```
36+
1537
##### Quick Overview
1638

1739
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

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/jucardi/go-streams
22

3-
go 1.19
3+
go 1.18
44

55
require github.com/stretchr/testify v1.8.1
66

0 commit comments

Comments
 (0)