Skip to content

paulbellamy/infinite_multi_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InfiniteMultiReader Build Status

Implements a Reader which can read from a (potentially) infinite sequence of other readers. Use like:

getNextReader := func() (io.Reader, error) {
  // ...
  // return the_next_reader, err
}
reader := InfiniteMultiReader(getNextReader)

The getNextReader function should return nil, io.EOF when there are no more readers to consume.

About

An InfiniteMultiReader function for Golang

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages