package argreader

import "github.com/uber/tchannel-go/internal/argreader"

Index

Functions

func EnsureEmpty

func EnsureEmpty(r io.Reader, stage string) error

EnsureEmpty ensures that the specified reader is empty. If the reader is not empty, it returns an error with the specified stage in the message.

Source Files

empty.go

Version
v1.34.6 (latest)
Published
Jan 8, 2025
Platform
windows/amd64
Imports
3 packages
Last checked
1 week ago

Tools for package owners.