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

https://github.com/mroth/seq

🔁 Handy sequence iterators for Go
https://github.com/mroth/seq

go iterators module sequences sliding-window

Last synced: 12 months ago
JSON representation

🔁 Handy sequence iterators for Go

Awesome Lists containing this project

README

          

# seq :repeat:

[![PkgGoDev](https://pkg.go.dev/badge/github.com/mroth/seq)](https://pkg.go.dev/github.com/mroth/seq)
[![CodeFactor](https://www.codefactor.io/repository/github/mroth/seq/badge)](https://www.codefactor.io/repository/github/mroth/seq)
[![Build Status](https://github.com/mroth/seq/workflows/test/badge.svg)](https://github.com/mroth/seq/actions)

> Handy sequence iterator tools for Go 1.23+

Quick support for some common sequence iteration tools I needed in Go that are
not in the standard library `slices` package as of 1.23.

> [!NOTE]
> It seems almost certain this should already exist in an existing battle-tested
> module somewhere, but I didn't find one with a Google search, so it was faster
> to just drop this together myself than keep searching.

Operations supported:
- Sliding window :white_check_mark: