Documentation
¶
Overview ¶
Package scanner is a multi line block scanner for YAML input bytes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func (*Scanner) Delete ¶
Delete tries to drop the entire YAML block identified by the given key line, e.g. " Service:". A new scanner configured without the found YAML block as input bytes is returned. Optionally a substituion slice may be defined, which causes Delete to replace the matched block with the given structure.
Click to show internal directories.
Click to hide internal directories.