func NewYAMLTransformer() Transformer {
	cfg := viper.New()
	cfg.SetConfigType("yaml")
	return &YAMLTransformer{
		config:      cfg,
		initialized: false,
	}
}
NewYAMLTransformer transforms yamls
package config
import (
	"fmt"
	"io"
	"github.com/spf13/viper"
	yaml "gopkg.in/yaml.v2"
)
const (
	nonInitTransformerError = "cannot transform uninitialized transformer"
)
type YAMLTransformer struct {
	config      *viper.Viper
	initialized bool
}