Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSelectorNotFound is reported when the document does not // contain a field matching the selector. ErrSelectorNotFound = errors.New("Selector not found") )
Functions ¶
This section is empty.
Types ¶
type Replacer ¶
Replacer replaces the values of fields matched by a selector.
func NewJSONReplacer ¶
NewJSONReplacer creates a Replacer for JSON documents.
func NewYAMLReplacer ¶
func NewYAMLReplacer() Replacer
NewYAMLReplacer creates a Replacer for YAML documents.
Click to show internal directories.
Click to hide internal directories.