Commit 5f8c6a85 authored by liuyuhang's avatar liuyuhang

Update lint_warning处理.md

parent 6ec0d50e
## 本地查看自己所修改模块lint warning的命令: ## 本地查看自己所修改模块golint warning的命令:
## 本地查看自己所修改模块lint warning的命令: ## 本地查看自己所修改模块golint warning的命令:
> * golint -set_exit_status plugin/... > * golint -set_exit_status plugin/...
> * golint -set_exit_status plugin/dapp/... > * golint -set_exit_status plugin/dapp/...
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
> * go vet plugin/... > * go vet plugin/...
> * go vet plugin/dapp/... > * go vet plugin/dapp/...
## lint warning修改 ## golint warning修改方法
### 1、导出结构体、变量、常量、函数需加注释 ### 1、导出结构体、变量、常量、函数需加注释
> * lint warning: exported const HashSize should have comment or be unexported > * lint warning: exported const HashSize should have comment or be unexported
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment