macOS
brew install jetlocal Homebrew formula metadata
sudo port install jetMacPorts ports tree · textproc/jet/Portfile · 来源: api.github.com
安装
brew install jetlocal Homebrew formula metadata
sudo port install jetMacPorts ports tree · textproc/jet/Portfile · 来源: api.github.com
nix profile install nixpkgs#jetnixpkgs package indexes · pkgs/by-name/je/jet/package.nix · 来源: api.github.com
概览
Type safe SQL builder with code generation and auto query result data mapping
历史
Jet is a Go database access toolkit built around code generation, type-safe SQL builders, and automatic query result mapping. Its README is explicit that Jet is not an ORM; the package instead generates Go types from database metadata so queries can be written as Go code that resembles SQL.
The go-jet/jet repository was created in 2019 and reached a 1.0 GitHub release the same year. The 2.x line also began in 2019, establishing the module path used by the documented `go install github.com/go-jet/jet/v2/cmd/jet` workflow.
The project evolved as a generator plus runtime library. Release history and documentation show continuing additions around SQL dialect features, result mapping, and database support, with PostgreSQL, MySQL, SQLite, CockroachDB, and MariaDB represented across the README and wiki.
Jet fits a Go community preference for explicit SQL and compile-time feedback. It occupies a middle position between handwritten `database/sql` calls, ORMs, and SQL-code generators: users still write query structure in Go, but the table, column, enum, and model types are generated from the database.
Homebrew, MacPorts, and Nix metadata in the input show adoption as a developer command as well as a Go library dependency. The formula packages the `jet` generator executable, which is the visible tool most package-manager users install.
The documented workflow is to install the generator, point it at a running database or SQLite file, and choose an output path such as `./.gen`. Jet then generates SQL builder and model packages, after which application code imports those packages and builds typed SELECT, INSERT, UPDATE, DELETE, LOCK, and WITH statements.
Jet is package-nerd notable because the command name is tiny and generic, but the package represents a very specific Go database philosophy: generate just enough schema-aware code to make SQL construction typed while avoiding a full ORM identity map.
安全态势
没有找到 jet 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jet | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:jet |
|---|---|
| 版本 | 2.15.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jet |
| 主页 | https://github.com/go-jet/jet |
| 仓库 | https://github.com/go-jet/jet |
| 上游文档 | https://github.com/go-jet/jet#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/go-jet/jet/archive/refs/tags/v2.15.0.tar.gz |
| 最后更新 | 2026-05-21T15:06:46Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jet |
| 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 软件包链接分开显示。
jet
nix profile install nixpkgs#jetjet
sudo port install jet来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.