Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNotEmptyAndExists ¶
CheckNotEmptyAndExists returns an error if the given file does not exist exists or is empty
Types ¶
type ErrExpectedStdin ¶
type ErrExpectedStdin struct {
// contains filtered or unexported fields
}
ErrExpectedStdin indicates that an stdin pipe was expected but not present
func NewErrExpectedStdin ¶ added in v0.0.8
func NewErrExpectedStdin() *ErrExpectedStdin
NewErrExpectedStdin creates a new ErrExpectedStdin
func (*ErrExpectedStdin) Error ¶ added in v0.0.8
func (e *ErrExpectedStdin) Error() string
func (*ErrExpectedStdin) Format ¶ added in v0.0.8
func (e *ErrExpectedStdin) Format(s fmt.State, verb rune)
Format implements fmt.Formatter used by Sprint(f) or Fprint(f) etc.
func (*ErrExpectedStdin) StackTrace ¶ added in v0.0.8
func (e *ErrExpectedStdin) StackTrace() errors.StackTrace
StackTrace returns a stack trace for this error
Click to show internal directories.
Click to hide internal directories.