func loadYaml(filename string, into interface{}) {
	data, err := os.ReadFile(filename)
	if err != nil {
		log.Fatal(err)
	}
	if err := yaml.Unmarshal(data, into); err != nil {
		log.Fatal(err)
	}
}
// loadYaml reads the given yaml file and unmarshals into object.
// Fatal on errors.
loadYaml reads the given yaml file and unmarshals into object.
Fatal on errors.
// loadYaml reads the given yaml file and unmarshals into object . // Fatal on errors .
func loadYaml(filename string, into interface{}) {
	data, err := os.ReadFile(filename)
	if err != nil {
		log.Fatal(err)
	}
	if err := yaml.Unmarshal(data, into); err != nil {
		log.Fatal(err)
	}
}
func loadYaml ( filename string , into interface { } ) { data , err := os . ReadFile ( filename ) if err != nil { log . Fatal ( err ) } if err := yaml . Unmarshal ( data , into ) ; err != nil { log . Fatal ( err ) } }
loadYaml reads the given yaml file and unmarshals into object.
loadYaml reads the given yaml file and unmarshals into object .