Example #1
0
func DemoXmlConfig() {
	c := xml.GetConfig("../data/demo.xml")
	demo.DemoConfig(c)
}
Example #2
0
func Demo() {
	var c mconf.Config = mconf.NewConfig(ini.NewIniConfig("../data/demo.ini", "../data/demo2.ini"))
	c.Put("put", "temp put")
	demo.DemoConfig(c)
	fmt.Println(c.GetString("put"))
}
Example #3
0
func DemoYamlConfig() {
	c := yaml.GetConfig("../data/demo.yaml")
	demo.DemoConfig(c)
}