io

package
v3.30.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BufferedPipe

func BufferedPipe(r io.Reader) (*bufio.Reader, bool)

BufferedPipe returns a buffered reader if the reader is a pipe that can be read.

func Write

func Write(w io.Writer, format string, data any) (err error)

Write output to Stdout. Uses either JSON or formats using the configured template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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