From aa951e4acd03ce394094e4c001e1f684f8574945 Mon Sep 17 00:00:00 2001 From: congqixia Date: Sat, 18 Sep 2021 16:03:51 +0800 Subject: [PATCH] Add static-check description in CONTRIBUTING.md (#8209) Signed-off-by: Congqi Xia --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0fcf9ac03..f303e7050 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -104,6 +104,11 @@ Keeping a consistent style for code, code comments, commit messages, and PR desc ### Go - Coding style: refer to the [Effictive Go Style Guide](https://golang.org/doc/effective_go) +We also use `golangci-lint` to perform code check. Run the following command before submit your pull request and make sure there is no issue reported: +```shell +$ make static-check +``` + ###C++ The c++ coding style used in Milvus generally follow [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html). And we made the following changes based on the guide: -- GitLab