From dd4c4e0a672720debc8f4e5f41f7d4a7da5dd68f Mon Sep 17 00:00:00 2001 From: zxxshaycormac <39913068+zxxshaycormac@users.noreply.github.com> Date: Tue, 28 Dec 2021 20:54:40 +0800 Subject: [PATCH] translate dtmcli/tcc.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 翻译TccGlobalTransaction方法的注释 --- dtmcli/tcc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtmcli/tcc.go b/dtmcli/tcc.go index 9df1bd4..73d1172 100644 --- a/dtmcli/tcc.go +++ b/dtmcli/tcc.go @@ -24,7 +24,7 @@ type TccGlobalFunc func(tcc *Tcc) (*resty.Response, error) // TccGlobalTransaction begin a tcc global transaction // dtm dtm server address -// gid 全局事务id +// gid global transaction ID // tccFunc tcc事务函数,里面会定义全局事务的分支 func TccGlobalTransaction(dtm string, gid string, tccFunc TccGlobalFunc) (rerr error) { tcc := &Tcc{TransBase: *dtmimp.NewTransBase(gid, "tcc", dtm, "")}