macOS
brew install go-ricelocal Homebrew formula metadata
安装
brew install go-ricelocal Homebrew formula metadata
nix profile install nixpkgs#go-ricenixpkgs package indexes · pkgs/by-name/go/go-rice/package.nix · 来源: api.github.com
概览
Easily embed resources like HTML, JS, CSS, images, and templates in Go
历史
go.rice is a Go resource-embedding library and command-line tool for bundling web assets, templates, and other static files into Go programs.
The public repository for go.rice was created in 2013 by GeertJohan, during the period when Go projects commonly used external generators to ship self-contained binaries with static assets. Its README describes a development/deployment split: during development it reads resources from disk, while the rice tool can embed generated Go source or append a zip payload to a built executable for deployment.
go.rice became one of the named tools in the pre-embed era of Go asset packaging. The Go project's later embed design documents described the broader ecosystem problem as one with many tools that required a manual generation step, the same workflow category that go.rice served.
Practitioners use go.rice by declaring boxes such as rice.FindBox("html-files"), serving them through HTTP helpers, reading template strings, and running rice embed-go or rice append before distributing a standalone executable.
The Homebrew formula matters because it exposes the rice executable as a small packaging-time helper for Go programs that predate or cannot yet use the standard //go:embed workflow.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
rice | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/GeertJohan/go.rice
安装元数据
| 软件包键 | brew:go-rice |
|---|---|
| 版本 | 1.0.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/go-rice |
| 主页 | https://github.com/GeertJohan/go.rice |
| 仓库 | https://github.com/GeertJohan/go.rice |
| 上游文档 | https://github.com/GeertJohan/go.rice#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/GeertJohan/go.rice/archive/refs/tags/v1.0.3.tar.gz |
| 最后更新 | 2026-06-13T23:34:56+02:00 |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | go-rice |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
go-rice
nix profile install nixpkgs#go-rice来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.