• Stars
    star
    203
  • Rank 192,890 (Top 4 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created over 10 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Package stream provides filters that can be chained together in a manner similar to Unix pipelines.

Stream package

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/ghemawat/stream

See godoc for further documentation and examples.