gz

package
v0.0.0-...-ebf99ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL