func Load(path string) (*Config, error) {
	cfg := &Config{}

	bytes, err := ioutil.ReadFile(path)
	if err != nil {
		return nil, err
	}

	if err := yaml.Unmarshal(bytes, cfg); err != nil {
		return nil, err
	}

	return cfg, nil
}
// Load loads the config.yml from the filepath given.
Load loads the config.yml from the filepath given.
// Load loads the config . yml from the filepath given .
func Load(path string) (*Config, error) {
	cfg := &Config{}
	bytes, err := ioutil.ReadFile(path)
	if err != nil {
		return nil, err
	}
	if err := yaml.Unmarshal(bytes, cfg); err != nil {
		return nil, err
	}
	return cfg, nil
}
func Load ( path string ) ( * Config , error ) { cfg := & Config { } bytes , err := ioutil . ReadFile ( path ) if err != nil { return nil , err } if err := yaml . Unmarshal ( bytes , cfg ) ; err != nil { return nil , err } return cfg , nil }
Load loads the config.yml from the filepath given.
Load loads the config . yml from the filepath given .