Versions in this module Expand all Collapse all v1 v1.1.1 Feb 8, 2023 Changes in this version + var CompareConfig = &Config + var CycleTracker = &Config + var DefaultConfig = &Config + var DefaultFormatter = map[reflect.Type]interface + func Compare(a, b interface{}) string + func Fprint(w io.Writer, vals ...interface{}) (n int64, err error) + func Print(vals ...interface{}) + func Sprint(vals ...interface{}) string + type Config struct + Compact bool + Diffable bool + Formatter map[reflect.Type]interface{} + IncludeUnexported bool + PrintStringers bool + PrintTextMarshalers bool + ShortList int + SkipZeroFields bool + TrackCycles bool + func (cfg *Config) Compare(a, b interface{}) string + func (cfg *Config) Fprint(w io.Writer, vals ...interface{}) (n int64, err error) + func (cfg *Config) Print(vals ...interface{}) + func (cfg *Config) Sprint(vals ...interface{}) string