| 11 | ) |
| 12 | |
| 13 | type Encoder interface { |
| 14 | Encode(any) error |
| 15 | Close() error |
| 16 | } |
| 17 | |
| 18 | // NewEncoder creates and returns a function that is used to encode a Go object to a YAML document |
| 19 | func NewEncoder(w io.Writer) Encoder { |
no outgoing calls
no test coverage detected