import (
"io/ioutil"
"path/filepath"
"gopkg.in/yaml.v2"
)
func main() {
filename, _ := filepath.Abs("config/config.yml")
yamlFile, err := ioutil.ReadFile(filename)
var config Config
err = yaml.Unmarshal(yamlFile, &c...