func (d *yamlDriver) GetEncoder() config.Encoder {
	return Encoder
}
GetEncoder for yaml
package yamlv3
import (
	"github.com/abulo/ratel/v2/config"
	"gopkg.in/yaml.v3"
)
var Decoder config.Decoder = yaml.Unmarshal
var Encoder config.Encoder = yaml.Marshal
var Driver = &yamlDriver{config.Yaml}
type yamlDriver struct {
	name string
}
func (d *yamlDriver) Name() string {
	return d.name
}
func (d *yamlDriver) GetDecoder() config.Decoder {
	return Decoder
}