For the complete documentation index, see llms.txt. This page is also available as Markdown.

检查代码规范

检查Go代码规范

LoongCollector 的 Go 插件(plugins/)使用 golangci-lint 检查代码风格。SCOPE 定义是 可选,默认范围是根目录。

SCOPE=xxx make lint

xxx为限定的目录名称。

Last updated