diff --git a/.gitignore b/.gitignore index 0b3673bf316a409b5caadf09f3fa58d42ad8f968..3d70f85a59b1367114bf04a7286fbb020d6825a4 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 245b693fb3dac5c7d6058a2d57dcc33c1d41e309..392d2aca035acb50ab58527a70007ac0b2fb6121 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 a5502d1379ac4e3ba977ac1727c1c30f9ce488b2..0553527534506f21eb9bd154c034b8345298f93c 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)銆�