From 1bf7fa75df8a6b189baae458087cfe63a4d4250a Mon Sep 17 00:00:00 2001 From: yedongfu Date: Tue, 20 Jul 2021 20:21:08 +0800 Subject: [PATCH] update readme --- README-en.md | 2 +- README.md | 2 +- app/main.go | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README-en.md b/README-en.md index 7442110..036932c 100644 --- a/README-en.md +++ b/README-en.md @@ -27,7 +27,7 @@ DTM is the first golang open source distributed transaction project. It elegantl # Quick start ### installation -`git clone github.com/yedf/dtm` +`git clone https://github.com/yedf/dtm` ### dtm depends on mysql Configure mysql: diff --git a/README.md b/README.md index 7126ccb..11efa15 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ DTM是首款golang的开源分布式事务管理器,优雅的解决了幂等 # 快速开始 ### 安装 -`git get -u github.com/yedf/dtm` +`git clone https://github.com/yedf/dtm` ### dtm依赖于mysql 配置mysql: diff --git a/app/main.go b/app/main.go index 09cafb1..1e28dd3 100644 --- a/app/main.go +++ b/app/main.go @@ -5,7 +5,6 @@ import ( "time" "github.com/sirupsen/logrus" - "github.com/yedf/dtm/common" "github.com/yedf/dtm/dtmsvr" "github.com/yedf/dtm/examples" ) @@ -20,11 +19,6 @@ func wait() { } func main() { - var a, b interface{} - common.MustUnmarshalString("{\"a\": 1}", &a) - common.MustUnmarshalString("[1, 2]", &b) - logrus.Printf("a is: %v, b is: %v", a, b) - os.Exit(0) if len(os.Args) > 1 && os.Args[1] == "dtmsvr" { // 实际运行,只启动dtmsvr,不重新load数据 dtmsvr.MainStart() wait()