package
5.30.0
Repository: https://github.com/go-playground/pkg.git
Documentation: pkg.go.dev

# Functions

LimitReader returns a LimitedReader that reads from r but stops with ErrLimitedReaderEOF after n bytes.

# Variables

ErrLimitedReaderEOF is an error returned by LimitedReader to give feedback to the fact that we did not hit an EOF of the Reader but hit the limit imposed by the LimitedReader.

# Structs

A LimitedReader reads from R but limits the amount of data returned to just N bytes.