Documentation ¶ Index ¶ func ColorizeDiff(diff []byte) []byte type Errors func (e Errors) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ColorizeDiff ¶ func ColorizeDiff(diff []byte) []byte ColorizeDiff takes a byte slice of lines and returns the same, but with diff highlighting. That is, lines starting with '+' are green and lines starting with '-' are red. Types ¶ type Errors ¶ type Errors []error func (Errors) Error ¶ func (e Errors) Error() string Source Files ¶ View all Source files colorize_diff.go errors.go Click to show internal directories. Click to hide internal directories.