项目介绍

go-simpler/sloglint 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,采用 Mozilla Public License 2.0 许可证,目前获得 279 个 Star、19 次 Fork。

仓库全名
go-simpler/sloglint

README 摘要

sloglint A Go linter that ensures consistent code style when using log/slog. Install sloglint is part of golangci-lint, and this is the recommended way to use it. Alternatively, you can download a prebuilt binary from the Releases page to use sloglint standalone. Supported checks For log/slog functions: No global logger Context only Discard handler For log messages: Static message Message style For log arguments: No…

完整内容见 GitHub 原始 README 或本页 。

常见问题

sloglint 用什么语言开发?

主要使用 Go 编写,采用 Mozilla Public License 2.0 许可证,目前有 279 个 Star。

sloglint 可以免费商用吗?

仓库标注的许可证为 Mozilla Public License 2.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 sloglint 的源码?

可以直接克隆仓库:git clone https://github.com/go-simpler/sloglint.git,默认分支为 main;安装与运行步骤见仓库 README。

sloglint 最近还在维护吗?

仓库最近一次更新为 2 周前,当前有 6 个未关闭 Issue;Star 数为 279,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

🪵 Ensure consistent code style when using log/slog

以下为仓库作者撰写的原始描述。

简要分析

热度分
320
价值分
173
活跃状态
活跃

语言占比

Go
Makefile

Release