Unmarshal decodes the YAML data into the provided destination.
(data []byte, out any)
| 10 | |
| 11 | // Unmarshal decodes the YAML data into the provided destination. |
| 12 | func (h YamlHandler) Unmarshal(data []byte, out any) error { |
| 13 | return yaml.Unmarshal(data, out) |
| 14 | } |
| 15 | |
| 16 | // Marshal encodes the given value into YAML. |
| 17 | func (h YamlHandler) Marshal(in any) ([]byte, error) { |
no outgoing calls
no test coverage detected