func TrustedMarshalYAML(d interface{}) string {
	s, err := yaml.Marshal(d)
	if err != nil {
		panic(err)
	}
	return string(s)
}
TrustedMarshalYAML marshal yaml without error returned, if an error happens it panics
package common
import yaml "gopkg.in/yaml.v2"