golint

golint


提示 if block ends with a return statement, so drop this else and outdent its block的解决方法

if block ends with a return statement, so drop this else and outdent its block.

golint Golang 2021-05-10 19:37:40

golint是什么

Golint是一个Go语言源代码检测工具;Golint 用于检测诸如命令、注释、语法等代码是否规范。

golint 2021-05-10 14:40:36