macOS
brew install thriftgolocal Homebrew formula metadata
安装
brew install thriftgolocal Homebrew formula metadata
概览
Implementation of thrift compiler in go language with plugin mechanism
历史
Thriftgo is CloudWeGo's Go implementation of a Thrift IDL compiler, aimed at generating Go code from `.thrift` files and supporting plugin-based customization.
The official repository was created in 2021. Its README defines thriftgo as an Apache Thrift IDL compiler written in Go, with code generation for Go and a plugin system for custom code generation.
CloudWeGo documentation positions thriftgo as part of its service-development toolchain: Kitex uses thriftgo as the Thrift IDL parser/generator, and the Kitex code-generation docs describe generated serialization code as coming from thriftgo or protoc underneath the higher-level Kitex command.
Thriftgo's adoption is concentrated in the Go and CloudWeGo ecosystem. Official CloudWeGo setup docs instruct users to install thriftgo before using Kitex with Thrift IDL, and the Homebrew formula packages the standalone compiler as a developer CLI.
The README shows the direct compiler workflow as `thriftgo -g go example.thrift`, writing generated code under `./gen-go/<namespace>/`. It also documents generator options, plugins, include paths, recursive generation, and compatibility constraints with the Apache Thrift Go runtime.
CloudWeGo also documents thriftgo features such as IDL trimming from v0.3.1 onward, which lets teams remove unused definitions from large IDL sets before generating Go code.
For package maintainers, thriftgo is the Go-specific counterpart to the larger Apache Thrift compiler: it is small as a formula, but important when a Go RPC framework expects exactly this generator and its runtime compatibility behavior.
It matters in reproducible builds because generated Go code, thriftgo version, Apache Thrift runtime version, and Kitex/Hertz scaffolding can all be coupled.
安全态势
没有找到 thriftgo 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
thriftgo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:thriftgo |
|---|---|
| 版本 | 0.4.5 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/cloudwego/thriftgo |
| 仓库 | https://github.com/cloudwego/thriftgo |
| 最后更新 | 2026-07-26T00:50:41+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.