From 6426f1954a157cb454b492d2148c561bf8113c65 Mon Sep 17 00:00:00 2001 From: fangyincheng <fangyincheng@sina.com> Date: Sat, 13 Jul 2019 16:27:31 +0800 Subject: [PATCH] Add:update readme --- .gitignore | 1 + README.md | 11 +++++++++++ README_CN.md | 13 +++++++++++++ 3 files changed, 25 insertions(+) diff --git a/.gitignore b/.gitignore index 0b3673bf3..3d70f85a5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ # Output of the go coverage tool, specifically when used with LiteIDE *.out +coverage.txt *.idea *.iml diff --git a/README.md b/README.md index 245b693fb..392d2aca0 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,23 @@ Todo List: You can know more about dubbo-go by its [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap). +## Document +Move [here](https://dubbogo.github.io/dubbo-go-website/) ## Quick Start The subdirectory examples shows how to use dubbo-go. Please read the [examples/README.md](https://github.com/apache/dubbo-go/blob/develop/examples/README.md) carefully to learn how to dispose the configuration and compile the program. +## Running unit tests + +```bash +go test ./... + +# coverage +go test ./... -coverprofile=coverage.txt -covermode=atomic +``` + ## Contributing If you are willing to do some code contributions and document contributions to [Apache/dubbo-go](https://github.com/apache/dubbo-go), please visit [contribution intro](https://github.com/apache/dubbo-go/blob/master/cg.md). diff --git a/README_CN.md b/README_CN.md index a5502d137..055352753 100644 --- a/README_CN.md +++ b/README_CN.md @@ -54,10 +54,23 @@ Apache License, Version 2.0 浣犲彲浠ラ€氳繃璁块棶 [roadmap](https://github.com/apache/dubbo-go/wiki/Roadmap) 鐭ラ亾鏇村鍏充簬 dubbo-go 鐨勪俊鎭� +## 鏂囨。 + +绉绘[杩欓噷](https://dubbogo.github.io/dubbo-go-website/) + ## 蹇€熷紑濮� ## 杩欎釜瀛愮洰褰曚笅鐨勪緥瀛愬睍绀轰簡濡備綍浣跨敤 dubbo-go 銆傝浠旂粏闃呰 [examples/README.md](https://github.com/apache/dubbo-go/blob/develop/examples/README.md) 瀛︿範濡備綍澶勭悊閰嶇疆骞剁紪璇戠▼搴忋€� +## 杩愯鍗曟祴 + +```bash +go test ./... + +# 瑕嗙洊鐜� +go test ./... -coverprofile=coverage.txt -covermode=atomic +``` + ## 濡備綍璐$尞 濡傛灉鎮ㄦ効鎰忕粰 [Apache/dubbo-go](https://github.com/apache/dubbo-go) 璐$尞浠g爜鎴栬€呮枃妗o紝鎴戜滑閮界儹鐑堟杩庛€傚叿浣撹鍙傝€� [contribution intro](https://github.com/apache/dubbo-go/blob/master/cg.md)銆� -- GitLab