예제 #1
0
func main() {
	//pkg.CollectUnitTest()

	pkg.InitConfig()

	ini := pkg.GetConfig()
	ini2 := pkg.ConfigCycleAdjust(ini)
	//fmt.Println(ini2)
	util.ReflectPrintln(&ini2)

	//pkg.OneDirDump2Json(ini2.OneDirDump2JsonInPath, ini2.OneDirDump2JsonOutPath)
	pkg.CallStackDistributed(ini2.CallStackDistributedInPath, ini2.CallStackDistributedOutPath,
		ini2.CallStackDistributedMaxLevel, ini2.CallStackDistributedMinNumber)
}
예제 #2
0
파일: main.go 프로젝트: reinhardtken/golang
func main() {
	fmt.Println("crash analyze begin to run!")
	//init
	pkg.InitConfig()
	ini := pkg.GetConfig()
	ini = pkg.ConfigCycleAdjust(ini)
	//fmt.Println("WorkParams:", ini.WorkParams)
	util.ReflectPrintln(&ini)
	//prepare
	//Prepare(ini)
	//test
	//Test(ini)
	//work
	Work(ini)

}