pipetagger

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChooseColorAttrs

func ChooseColorAttrs(tag string) []color.Attribute

Types

type PipeTagger

type PipeTagger struct {
	// contains filtered or unexported fields
}

func New

func New(w io.Writer, r io.Reader, tag string, width int, noColor bool) *PipeTagger

New create a PipeTagger. Set width = -1 to disable tagging.

func (*PipeTagger) Run

func (x *PipeTagger) Run() error

Jump to

Keyboard shortcuts

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