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, "")}