Documentation
¶
Overview ¶
Package differ turns a single attribute's before/after values into an ordered list of render variants (preferred → minimal). All value-type knowledge lives here; fit and render treat the result generically.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct {
ResourceType string
Attr string
Before any
After any
Sensitive bool
Unknown bool
ForceDiffer string // "" | auto | structural | json | yaml | line | summary | hide
MaxLines int // 0 = no cap
NoDetect bool // when true, skip type sniffing for string values (force line diff)
}
Input is everything Diff needs for one attribute.
Click to show internal directories.
Click to hide internal directories.