# Packages
Package xml for config provider.
Package yaml for config provider
depend on github.com/beego/goyaml2
go install github.com/beego/goyaml2
Usage: import( _ "github.com/astaxie/beego/config/yaml" "github.com/astaxie/beego/config" )
cnf, err := config.NewConfig("yaml", "config.yaml")
More docs http://beego.me/docs/module/config.md.
# Functions
ExpandValueEnv returns value of convert with environment variable.
ExpandValueEnvForMap convert all string value with environment variable.
NewConfig adapterName is ini/json/xml/yaml.
NewConfigData adapterName is ini/json/xml/yaml.
NewFakeConfig return a fake Congiger.
ParseBool returns the boolean value represented by the string.
Register makes a config adapter available by the adapter name.
ToString converts values of any type to string.
# Structs
IniConfig implements Config to parse ini file.
IniConfigContainer A Config represents the ini configuration.
JSONConfig is a json config parser and implements Config interface.
JSONConfigContainer A Config represents the json configuration.