Versions in this module Expand all Collapse all v3 v3.0.0 Apr 9, 2023retracted Changes in this version + const DefaultTimeout + var DefaultStrDiffs = []StringDiffAlgorithm + type Differ struct + func New(opts ...Opt) *Differ + func (d *Differ) Diff(actual, expected any) string + type Opt func(Differ) Differ + func Actual(opts ...Opt) Opt + func Expected(opts ...Opt) Opt + func WithFormat(format string) Opt + func WithSprinter(s Sprinter) Opt + func WithStringAlgos(algos ...StringDiffAlgorithm) Opt + func WithTimeout(timeout time.Duration) Opt + type Sprinter interface + Sprint func(...any) string + type StringDiffAlgorithm interface + Diffs func(ctx context.Context, actual, expected []rune) <-chan str.Diff Other modules containing this package github.com/poy/onpar github.com/poy/onpar/v2