Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsStdinOrFileError ¶
func OpenStdinOrFile ¶
OpenStdinOrFile will check if the program's input is a pipe. If so, it will return stdin, otherwise it will return an open file.
The returned ReadCloser must always be closed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.