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.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 64c089b Updated notice of committing codes (markdown)
64c089b is described below
commit 64c089b200a2637ad733065a16a173f2bf13566f
Author: Xin.Zh <[email protected]>
AuthorDate: Fri Jun 28 00:02:43 2019 +0800
Updated notice of committing codes (markdown)
---
notice-of-committing-codes.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/notice-of-committing-codes.md b/notice-of-committing-codes.md
index 5e8f0c9..661ef1a 100644
--- a/notice-of-committing-codes.md
+++ b/notice-of-committing-codes.md
@@ -22,3 +22,7 @@ The title format of the pull request `MUST` follow the
following rules:
>- Start with `Dep:` for adding depending libs.
>- Start with `Rem:` for removing feature/struct/function/member/files.
+## 3. Go programming rules
+
+- 1 do not use a struct's outside its functions
[#issue-101](https://github.com/apache/dubbo-go/issues/101);
+- 2 do not use a Mutex/RWMutex:Lock() before invoke Mutex/RWMutex:Unlock()
[#issue-101](https://github.com/apache/dubbo-go/issues/101);