Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyReplace ¶
Types ¶
type Colorize ¶
type Colorize struct { Regexp *Regexp `yaml:"regex"` ColorStr string `yaml:"color"` Replace []byte // contains filtered or unexported fields }
The colorize struct contains a regex to match and the teminal color to replace to
type Regexp ¶
a Marshallable Regexp
func (*Regexp) MarshalYAML ¶
implements the yaml.Marshaler interface for Regexp
func (*Regexp) UnmarshalYAML ¶
implements the yaml.Unmarshaler interface for Regexp
Click to show internal directories.
Click to hide internal directories.