Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diff ¶
func NewDiff ¶
func NewDiff(opts ...DiffOption) *Diff
func (*Diff) Summary ¶
func (d *Diff) Summary() DiffSummary
type DiffOption ¶
type DiffOption func(*Diff)
func WithChildren ¶
func WithChildren(children ...*Diff) DiffOption
func WithKey ¶
func WithKey(key string) DiffOption
func WithStringDiff ¶
func WithStringDiff(old, new string) DiffOption
type DiffSummary ¶
type StringDiffer ¶
type StringDiffer struct {
// contains filtered or unexported fields
}
func (*StringDiffer) Diff ¶
func (d *StringDiffer) Diff() (string, Op)
Click to show internal directories.
Click to hide internal directories.