Voodoo262 / stream

Fork of https://github.com/ghemawat/stream

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stream package

This is a fork of github.com/ghemawat/stream that allows data types other than string

Package stream provides filters that can be chained together in a manner similar to Unix pipelines. A simple example that prints all go files under the current directory:

stream.Run(
	stream.Find("."),
	stream.Grep(`\.go$`),
	stream.WriteLines(os.Stdout),
)

Installation

go get github.com/Voodoo262/stream

See godoc for further documentation and examples.

About

Fork of https://github.com/ghemawat/stream

License:Apache License 2.0


Languages

Language:Go 100.0%