identypo是一种Go静态分析工具,用于查找标识符(函数,函数调用,变量,常量,类型声明,包,标签)中的错别字。
identypo identypo是一种Go静态分析工具,用于查找包括CamelCased函数,变量等在内的标识符(函数,函数调用,变量,常量,类型声明,包,标签)中的错字。该工具可在包括CamelCased函数,变量等在内的标识符(函数,函数调用,变量,常量,类型声明,包,标签)中查找拼写错误。它是基于client9的mispell包构建的。
安装进入-u github.com/alexkohler/identypo/cmd/identypo这与https://github.com/client9/misspell有何不同?
misspell对原始文本和注释进行操作。
identypo对AST标识符(即变量名)进行操作