starlib
starlib copied to clipboard
encoding/yaml: Add support for multi-document serialization
Intent
To add support for multi-document serialization to the encoding/yaml
module.
Problem
The current implementation of the YAML module does not allow the generation of a multi-document YAML stream.
Solution
To re-work the yaml.Dumps
implementation to support the feature while ensuring backward compatibility.