# Functions
NewColorConfig returns a new ColorConfig.
NewUnifiedEncoder returns a new UnifiedEncoder that writes to w.
WithColor sets the color for key.
# Constants
Add item represents an insert diff.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
DefaultContextLines is the default number of context lines.
Delete item represents a delete diff.
Equal item represents an equals diff.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
ColorKeys.
# Structs
UnifiedEncoder encodes an unified diff into the provided Writer.
# Interfaces
Chunk represents a portion of a file transformation into another.
File contains all the file metadata necessary to print some patch formats.
FilePatch represents the necessary steps to transform one file into another.
Patch represents a collection of steps to transform several files.
# Type aliases
A ColorConfig is a color configuration.
A ColorConfigOption sets an option on a ColorConfig.
A ColorKey is a key into a ColorConfig map and also equal to the key in the diff.color subsection of the config.
Operation defines the operation of a diff item.