Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileOrStdin ¶
func FileOrStdin(stdin io.ReadCloser, path string) (io.ReadCloser, bool, error)
FileOrStdin opens a path or returns stdin for "-". The caller closes files and reserves stdin when the boolean is true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.