import ( "github.com/juju/juju/environs/config" ) func main() { conf, err := config.ReadConfigFile("config.yaml") if err != nil { panic(err) } fmt.Println("Blackhole attrs:", conf.UnknownAttrs()) }This code reads a configuration file called "config.yaml" and prints out any unknown attributes using the UnknownAttrs method of the ConfigUnknownAttrs type.