input

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPipe

func IsPipe(in *os.File) bool

IsPipe returns whether the stdin is a pipe.

func ReadFile

func ReadFile(file string) (string, error)

ReadFile returns the files content.

func ReadInput

func ReadInput(in io.Reader) (string, error)

ReadInput reads some input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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