Versions in this module Expand all Collapse all v1 v1.4.0 Mar 10, 2023 Changes in this version + type Diff struct + Action plans.Action + Renderer DiffRenderer + Replace bool + func NewDiff(renderer DiffRenderer, action plans.Action, replace bool) Diff + func (diff Diff) RenderHuman(indent int, opts RenderHumanOpts) string + func (diff Diff) WarningsHuman(indent int, opts RenderHumanOpts) []string + type DiffRenderer interface + RenderHuman func(diff Diff, indent int, opts RenderHumanOpts) string + WarningsHuman func(diff Diff, indent int, opts RenderHumanOpts) []string + type RenderHumanOpts struct + Colorize *colorstring.Colorize + HideDiffActionSymbols bool + OverrideForcesReplacement bool + OverrideNullSuffix bool + ShowUnchangedChildren bool + func NewRenderHumanOpts(colorize *colorstring.Colorize) RenderHumanOpts + func (opts RenderHumanOpts) Clone() RenderHumanOpts