yq/pkg/yqlib/encoder.go

13 lines
247 B
Go
Raw Normal View History

2020-01-10 11:01:59 +00:00
package yqlib
import (
"io"
)
type Encoder interface {
Encode(writer io.Writer, node *CandidateNode) error
PrintDocumentSeparator(writer io.Writer) error
PrintLeadingContent(writer io.Writer, content string) error
CanHandleAliases() bool
2020-01-10 11:01:59 +00:00
}