Versions in this module Expand all Collapse all v0 v0.1.0 Oct 21, 2021 Changes in this version + type CatReader struct + func (c *CatReader) Close() error + func (c *CatReader) Read(data []byte) (int, error) v0.0.2 Jun 10, 2019 Changes in this version + func Cat(ctx context.Context, paths []string) io.ReadCloser + func CatOrFile(ctx context.Context, paths []string, f io.ReadCloser) io.ReadCloser + func Each(ctx context.Context, paths []string, rf ReadFunc) error + func EachOrStdin(ctx context.Context, paths []string, rf ReadFunc) error + type Opener func(context.Context, string) (io.ReadCloser, error) + var Open Opener = osOpener + type ReadFunc func(r io.Reader, err error) error