This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git


The following commit(s) were added to refs/heads/master by this push:
     new 35e8a79a add readme for seata-go example (#463)
35e8a79a is described below

commit 35e8a79add9d31ea18c9cb2bc2aa436fcf5cb241
Author: Bison Xu <[email protected]>
AuthorDate: Fri Nov 11 11:07:00 2022 +0800

    add readme for seata-go example (#463)
    
    * add seata-go tcc example
    
    * add seata-go tcc example
    
    * format
    
    * format
    
    * add readme for seata-go example
    
    * add readme for seata-go example
    
    * add readme for seata-go example
    
    Co-authored-by: xubaisheng <>
---
 seata-go/README.md    | 12 ++++++++++++
 seata-go/README_zh.md | 12 ++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/seata-go/README.md b/seata-go/README.md
new file mode 100644
index 00000000..46cc4ef8
--- /dev/null
+++ b/seata-go/README.md
@@ -0,0 +1,12 @@
+# Seata-go tcc example
+
+## How to run?
+
+1. Start the seata-server and zookeeper service with the docker file.
+
+   ~~~shell
+   cd seata-go/tcc
+   docker-compose -f docker-compose.yml up -d seata-server zookeeper
+   ~~~
+
+2. Just execute the main function under tcc/client/cmd and tcc/server/cmd 
directory.
\ No newline at end of file
diff --git a/seata-go/README_zh.md b/seata-go/README_zh.md
new file mode 100644
index 00000000..46a37ba3
--- /dev/null
+++ b/seata-go/README_zh.md
@@ -0,0 +1,12 @@
+# Seata-go tcc 例子
+
+## 如何运行?
+
+1. 先执行以下命令,启动 seata-server和zookeeper。
+
+   ~~~shell
+   cd seata-go/tcc
+   docker-compose -f docker-compose.yml up -d seata-server zookeeper
+   ~~~
+
+2. 再执行 tcc/client/cmd 和 tcc/server/cmd 目录下的main()方法。
\ No newline at end of file

Reply via email to