package conf import ( "testing" ) // 读取配置文件 func Test_ConnIni(t *testing.T) { conf, err := ConnIni() if err != nil { t.Error(err) } else { t.Log(conf.MustValue("ubrSet", "ubr_host")) } }