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
- Host: GitHub
- URL: https://github.com/kyminbb/it
- Owner: kyminbb
- License: mit
- Created: 2024-08-17T05:18:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-09T18:35:12.000Z (over 1 year ago)
- Last Synced: 2024-09-09T22:59:31.051Z (over 1 year ago)
- Topics: functional-programming, generics, go, golang, iterators
- Language: Go
- Homepage: https://pkg.go.dev/github.com/kyminbb/it
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README

# 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).