Skip to content

Commit 84d6998

Browse files
committed
Add installation guide
1 parent 74e3379 commit 84d6998

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

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

33
[![GitHub release (with filter)](https://img.shields.io/github/v/release/BooleanCat/go-functional?sort=semver&logo=Go&color=%23007D9C&include_prereleases)](https://github.com/BooleanCat/go-functional/releases) [![Actions Status](https://github.com/BooleanCat/go-functional/workflows/test/badge.svg)](https://github.com/BooleanCat/go-functional/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/BooleanCat/go-functional/v2.svg)](https://pkg.go.dev/github.com/BooleanCat/go-functional/v2) [![Go Report Card](https://goreportcard.com/badge/github.com/BooleanCat/go-functional/v2)](https://goreportcard.com/report/github.com/BooleanCat/go-functional/v2) [![codecov](https://codecov.io/gh/BooleanCat/go-functional/branch/main/graph/badge.svg?token=N2E43RSR14)](https://codecov.io/gh/BooleanCat/go-functional)
44

5-
A library of iterators for use with `iter.Seq`.
5+
A library of iterators for use with `iter.Seq`. Requires Go 1.23+.
66

77
```go
88
// The first 5 natural numbers
@@ -18,3 +18,9 @@ numbers := it.Map(it.Count(), strconv.Itoa)
1818
```
1919

2020
_[Read the docs](https://pkg.go.dev/github.com/BooleanCat/go-functional/v2)_ to see the full iterator library.
21+
22+
## Installation
23+
24+
```terminal
25+
go get github.com/BooleanCat/go-functional/v2@latest
26+
```

0 commit comments

Comments
 (0)