func business()

in tcc/fence/cmd/main.go [39:54]


func business(ctx context.Context) (re error) {
	tccService := service.NewTestTCCServiceBusinessProxy()
	tccService2 := service.NewTestTCCServiceBusiness2Proxy()
	_, re = tccService.Prepare(ctx, 1)
	if re != nil {
		log.Errorf("TestTCCServiceBusiness prepare error, %v", re.Error())
		return
	}
	_, re = tccService2.Prepare(ctx, 3)
	if re != nil {
		log.Errorf("TestTCCServiceBusiness2 prepare error, %v", re.Error())
		return
	}

	return
}