macOS
brew install gocloclocal Homebrew formula metadata
安装
brew install gocloclocal Homebrew formula metadata
概览
Little fast LoC counter
历史
gocloc is a Go implementation of a source-code line counter, inspired by cloc and tokei. It reports file, blank, comment, and code counts by language, with CLI and container workflows.
The public repository was created in April 2016. The README describes the project as a little fast cloc-style counter written in Go and explicitly cites tokei as an inspiration. GitHub release records show the v0.2.1 release in March 2019 and later 0.x releases through the 2020s.
gocloc is packaged for Homebrew and is also documented for AUR installation in the README. Its packaging profile is typical of developer metrics tools: small binary, no service, useful in local repositories and CI jobs.
Users run gocloc against a directory to print per-language totals, request supported languages with --show-lang, or run it through Docker. The README also documents Jenkins/SLOCCount-oriented output workflows, making it useful both at the terminal and in reporting pipelines.
The package is interesting as part of the lineage from cloc to newer compiled counters such as tokei and gocloc. For package managers, it is a low-friction developer-tool formula: install one executable and use it across repositories without managing a Perl or Rust toolchain at runtime.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gocloc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gocloc |
|---|---|
| 版本 | 0.7.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/hhatto/gocloc |
| 仓库 | https://github.com/hhatto/gocloc |
| 最后更新 | 2026-07-25T20:55:24-04:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.