Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrefixPaths ¶
PrefixPaths add prefixes from prefix to every path in paths
Types ¶
type PrefixWriter ¶
type PrefixWriter struct {
// contains filtered or unexported fields
}
PrefixWriter implements the io.Writer interface and adds a prefix to every written line
func NewPrefixWriter ¶
func NewPrefixWriter(w io.Writer, prefix []byte) *PrefixWriter
NewPrefixWriter creates and initializes a new PrefixWriter
type SeqWriter ¶
type SeqWriter struct {
// contains filtered or unexported fields
}
SeqWriter counts and checks a sequence of writes for errors.
If a write to the underlying io.Writer returns an error, SeqWriter records it and ignores every further Write.
func NewSeqWriter ¶
NewSeqWriter creates and initializes a new SeqWriter
Click to show internal directories.
Click to hide internal directories.