// GetConf gets configuration from the yaml file
GetConf gets configuration from the yaml file
// GetConf gets configuration from the yaml file
func GetConf(path string) (c Conf, err error) {
	data, err := ioutil.ReadFile(path)
	if nil != err {
		return c, err
	}
	err = yaml.Unmarshal([]byte(data), &c)
	return c, err
}
func GetConf ( path string ) ( c Conf , err error ) { data , err := ioutil . ReadFile ( path ) if nil != err { return c , err } err = yaml . Unmarshal ( [ ] byte ( data ) , & c ) return c , err }
GetConf gets configuration from the yaml file
GetConf gets configuration from the yaml file