Versions in this module Expand all Collapse all v0 v0.3.0 Jun 5, 2022 v0.2.0 Feb 26, 2022 Changes in this version type Option + func ShowOriginal() Option v0.1.0 Feb 23, 2022 Changes in this version + func Each(f func(format string, arg ...any) (int, error), a, b any, opt ...Option) + func Log(a, b any, opt ...Option) + func Test(h Helperer, f func(format string, arg ...any), got, want any, opt ...Option) + type Helperer interface + Helper func() + type Option struct + var Default Option = OptionList(EmitAuto, TimeEqual, TimeDelta, Logger(log.Default())) + var EmitAuto Option = verbosity(auto) + var EmitFull Option = verbosity(full) + var EmitPathOnly Option = verbosity(pathOnly) + var EqualNaN Option = Transform(func(f float64) any { ... }) + var Picky Option = OptionList(EmitFull, TransformRemove[time.Time](), FormatRemove[time.Time]()) + var TimeDelta Option = Format(func(a, b time.Time) string { ... }) + var TimeEqual Option = Transform(func(t time.Time) any { ... }) + func EqualFuncs(b bool) Option + func Format(f func(a, b T) string) Option + func FormatRemove() Option + func KeepExported() Option + func KeepFields(fields ...string) Option + func Logger(out Outputter) Option + func OptionList(opt ...Option) Option + func Transform(f func(T) any) Option + func TransformRemove() Option + func ZeroFields(fields ...string) Option + type Outputter interface + Output func(calldepth int, s string) error