utils

package
v2.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringifyReaderWithLimit

func StringifyReaderWithLimit(rdr io.Reader, max int) (ret string, err error)

StringifyReaderWithLimit returns a string of the io.Reader handed to it but limited to max. If the string length >= max, then a "..." will be appended.

Types

This section is empty.

Jump to

Keyboard shortcuts

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