reader

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileGzipReader

func NewFileGzipReader(file string) (io.ReadCloser, error)

Return a reader that internally handles both compressed and uncompressed files.

Types

type FileGzipReader

type FileGzipReader struct {
	// contains filtered or unexported fields
}

func (*FileGzipReader) Close

func (r *FileGzipReader) Close() error

Close both the GZIP reader and the actual file reader.

func (*FileGzipReader) Read

func (r *FileGzipReader) Read(p []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL