Documentation
¶
Overview ¶
Package multifile combines multiple fs.File instances into one logical file.
This is used in the configuration parsing subsystem to load multiple logical bot rules files as one composite yaml file.
See function YAMLList for more information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func YAMLList ¶
YAMLList opens multiple files from the given filesystem and gloms them together into one big YAML reader where each component file is its own YAML document.
This works because the import logic calls yaml decoding in a loop, making sure that every YAML document is decoded until the file runs out of data.
Make sure to call yaml decoding in a loop until this file returns io.EOF.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.