Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Field ¶
Field represents a simple key/value and the 1-based line number where the value appears.
func JSONFields ¶
JSONFields performs a light pass to extract key/value pairs with approximate line numbers. It attempts a decode; if that fails, it returns nil.
func YAMLFields ¶
YAMLFields uses yaml.v3 which provides line numbers for nodes; we flatten simple scalars.
Click to show internal directories.
Click to hide internal directories.