Commit 0d7521c6 authored by liuyuhang's avatar liuyuhang

Update lint_warning处理.txt

parent 513a579b
查看当前模块lint提示命令:golint -set_exit_status plugin/...
查看当前模块lint提示命令:golint -set_exit_status plugin/...
......@@ -13,6 +13,7 @@ const (
func CalcWalletPassKey() []byte {
return []byte(keyWalletPassKey)
}
(注:如果是某些函数或者变量没有必要exported的话,首字母改为小写就不需要注释了)
2、函数注释不规范system/dapp/query.go:15:1:warning: comment on exported method DriverBase.GetTxsByAddr should be of the form "GetTxsByAddr ..." (golint)
需要改成上面1示例
......
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