Documentation ¶
Overview ¶
Package diff contains primitives for diff-ing objects and strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { LeftName string // name of left side RightName string // name of right side Context int // number of context lines in the diff, defaults to 3 Colorize bool // added colors to the diff }
Options are options for the diff. The zero-value is valid. Use a negative number for the context if you really want 0 context lines.
Click to show internal directories.
Click to hide internal directories.