const numContextRecords …
type diffMode …
const diffUnknown …
const diffIdentical …
const diffRemoved …
const diffInserted …
type typeMode …
const emitType …
const elideType …
const autoType …
type formatOptions …
func (opts formatOptions) WithDiffMode(d diffMode) formatOptions { … }
func (opts formatOptions) WithTypeMode(t typeMode) formatOptions { … }
func (opts formatOptions) WithVerbosity(level int) formatOptions { … }
func (opts formatOptions) verbosity() uint { … }
const maxVerbosityPreset …
func verbosityPreset(opts formatOptions, i int) formatOptions { … }
func (opts formatOptions) FormatDiff(v *valueNode, ptrs *pointerReferences) (out textNode) { … }
func (opts formatOptions) formatDiffList(recs []reportRecord, k reflect.Kind, ptrs *pointerReferences) textNode { … }
func coalesceAdjacentRecords(name string, recs []reportRecord) (groups []diffStats) { … }