func WithData(data []byte) YAML {
	return YAML{
		data: data,
	}
}
WithData accepts the yaml document as a slice of bytes.
package yaml
import (
	"bytes"
	"fmt"
	"io"
	"gopkg.in/yaml.v2"
)
type YAML struct {
	data []byte
}