code style simplify

config/xml.xml.go & config/yaml/yaml.go