Documentation ¶ Index ¶ type Write func (w Write) T(in <-chan interface{}, out chan<- interface{}, errs chan<- error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Write ¶ type Write struct { Path string Prefix string // add to the beginning of each message Postfix string // add to the end of each message (useful for adding newlines at the end) } Write will write the messages to a file much like to stdout. func (Write) T ¶ func (w Write) T(in <-chan interface{}, out chan<- interface{}, errs chan<- error) T is the Tfunc for a pipe/line. Source Files ¶ View all Source files write.go Click to show internal directories. Click to hide internal directories.