An open API service indexing awesome lists of open source software.

https://github.com/kyminbb/it

Iterator building blocks for Go, based on Go 1.23+ iterators
https://github.com/kyminbb/it

functional-programming generics go golang iterators

Last synced: 2 months ago
JSON representation

Iterator building blocks for Go, based on Go 1.23+ iterators

Awesome Lists containing this project

README

          

# it

![latest](https://img.shields.io/badge/latest-v0.1.0-green)
![go](https://img.shields.io/badge/go-1.23-00ADD8?logo=go)
![coverage](https://img.shields.io/badge/coverage-99.2%25-44CC11)
[![Go Report Card](https://goreportcard.com/badge/github.com/kyminbb/it)](https://goreportcard.com/report/github.com/kyminbb/it)

**:boom: `it` is a Go module that provides a variety of iterator building blocks, based on the Go 1.23+ iterators.**

It is entirely written in the Go standard library, making it lightweight and dependency-free.

It is inspired by the Rust [std::iter::Iterator](https://doc.rust-lang.org/std/iter/trait.Iterator.html) trait.

## Getting Started

### Installation

```bash
go get github.com/kyminbb/it
```

### Usage

```go
import "github.com/kyminbb/it"
```

See for the detailed usage doc and examples.

## Contributing

### Prerequisites

- [Go 1.23+](https://go.dev/doc/install)
- [Just](https://just.systems/man/en/chapter_1.html)

### Getting Started

- Fix [open issues](https://github.com/kyminbb/it/issues) or request new features
- Fork this repository to make changes
- Run `just test` to run the tests

## License

See [LICENSE](LICENSE) (MIT).