Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 v0.2.0 Aug 12, 2026 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 + ShowSensitive bool + ShowUnchangedChildren bool + func NewRenderHumanOpts(colorize *colorstring.Colorize, showSensitive bool) RenderHumanOpts + func (opts RenderHumanOpts) Clone() RenderHumanOpts