package main type Conf struct { DB struct { Driver string ConnectTo string `yaml:"connect_to"` } `yaml:"db"` Logging struct { Level string } }