# Packages
package xml for config provider
depend on github.com/beego/x2j
go install github.com/beego/x2j
Usage: import( _ "github.com/henrylee2cn/config/xml" "github.com/henrylee2cn/config" )
cnf, err := config.NewConfig("xml", "config.xml")
more docs http://beego.me/docs/module/config.md.
No description provided by the author
# Functions
adapterName is ini/json/xml/yaml.
adapterName is ini/json/xml/yaml.
No description provided by the author
Register makes a config adapter available by the adapter name.
# Variables
default section means if some ini items not in a section, make them in default section,.
# Structs
IniConfig implements Config to parse ini file.
A Config represents the ini configuration.
JsonConfig is a json config parser and implements Config interface.
A Config represents the json configuration.
# Interfaces
Config is the adapter interface for parsing config file to get raw data to ConfigContainer.
ConfigContainer defines how to get and set value from configuration raw data.