Automic VaultAutomic Vault

brew / 审批门

使用 Homebrew, apk, chocolatey, MacPorts, Nix, pacman, zypper, dnf, scoop, winget 安装 go

查看 go 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

go builds and runs binaries that can access project files, modules, and release workflows.

凭据访问

Reads environment variables, private module credentials, Git credentials, and project config.

远程变更

Can run tools that call cloud, Git, or deployment APIs.

发布/制品风险

Can produce release binaries and publish modules or container images via scripts.

推荐控制

Gate release, private-module, and deployment commands.

代理使用指南

Allow build/test commands; require approval for release publishing and credentialed module operations.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install go

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install go

MacPorts ports tree · lang/go/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add go

Alpine Linux edge package indexes · go · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#go

nixpkgs package indexes · go · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S go

Arch Linux sync databases · go · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install go

openSUSE Tumbleweed package metadata · go · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install golang

Fedora Rawhide package metadata · golang · 来源: dl.fedoraproject.org

概览

软件包摘要

Open source programming language to build simple/reliable/efficient software

命令和别名

  • go
  • gofmt

历史

项目历史与用法

Go is an open source programming language, compiler, standard library, formatter, and command-line toolchain distributed through the go and gofmt executables.

项目历史

Go was designed at Google beginning in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson to improve programming productivity for multicore, networked machines and large codebases. The project was launched to the public on 10 November 2009 as an open source language focused on simplicity and efficiency.

Go 1 was released on 28 March 2012 and established the compatibility promise that programs written for Go 1 should continue to compile and run under later Go 1 releases. That stability turned the experimental public release into a predictable platform for application code, libraries, and distribution packaging.

采用历史

The Go team described strong early community growth after the 2009 launch, including external contributors, mailing-list activity, and adoption both inside Google and by outside companies. By the project's tenth anniversary, Go's official blog described adoption across cloud infrastructure, naming Docker, Etcd, Istio, Kubernetes, Prometheus, and Terraform as examples of core cloud software written in Go.

使用方式

Practitioners use the go command to create modules, fetch dependencies, build, test, install commands, run programs, and maintain go.mod and go.sum files. A module's go.mod file defines the module path, Go version, and dependency requirements, while Go commands such as go mod tidy and go get keep those requirements consistent.

Go's toolchain model made the package more than a compiler binary. The distribution includes the go command plus a bundled toolchain made up of the standard library, compiler, assembler, and other tools; beginning with Go 1.21, the go command can also select or download toolchains according to go and toolchain lines in a module or workspace.

为什么软件包爱好者会关心

The brew:go formula is a foundational language-runtime package on macOS and Linux because it installs the canonical go command and gofmt formatter used to build Go software and many other Homebrew formulas from source.

时间线

  • 2007: Go design work began at Google.
  • 2009: Go was launched as an open source project.
  • 2012: Go 1 was released with the long-term compatibility promise.
  • 2018: Go 1.11 introduced preliminary module support.
  • 2021: Go 1.16 made module-aware mode the default and added //go:embed.
  • 2023: Go 1.21 introduced automatic toolchain selection in the go command.

Related projects

  • Go's ecosystem includes pkg.go.dev, the standard library, the module proxy and checksum database, the x/tools repository, and large cloud-native projects such as Kubernetes, Terraform, Prometheus, Docker, Etcd, and Istio.

审批门

高风险命令的人工审核元数据

本地审批门种子包含 7 条适用于 go 的规则。覆盖的入口点:go, gofmt。严重级别:高, 低, 中。覆盖状态:partial,审核于 2026-05-21。

受控操作示例

  • Compile and run Go packages or files.
  • Install Go commands, often from remote module paths.
  • Change module requirements.
  • Compile and execute tests.
  • Persist Go environment configuration.
  • Delete Go build, module, fuzz, or test caches.
  • Rewrite Go source files in place.

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gocli全局可执行文件
gofmtcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.26.5
管理器更新时间2026-07-08
本地数据OK
上游not checked
检测到的最新版本未检测到

https://go.dev/

  • 信息Release/tag comparison is only available for GitHub repositories.https://go.dev/none 置信度

安装元数据

软件包元数据

软件包键brew:go
版本1.26.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/go
主页https://go.dev/
仓库https://go.googlesource.com/go
上游文档https://go.dev/doc
许可证BSD-3-Clause
源码归档https://go.dev/dl/go1.26.5.src.tar.gz
最后更新2026-07-08T03:14:15Z
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namego
Aliases
  • go@1.26
  • golang
  • google-go
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

go

nix profile install nixpkgs#go
  • normalized package name match
  • 匹配方式:Go
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: go from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk95%

go 1.26.3-r0

Go programming language compiler

https://go.dev/

sudo apk add go
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: go
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Go
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: go from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

go-doc 1.26.3-r0

Go programming language compiler (documentation)

https://go.dev/

sudo apk add go-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: go
  • normalized package name match
  • 匹配方式:Go
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: go-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

golang 1.26.4-2.fc45

The Go Programming Language

https://go.dev

sudo dnf install golang
  • License: BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: golang
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Go
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: golang from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

go 2:1.26.4-1

Core compiler tools for the Go programming language

https://go.dev/

sudo pacman -S go
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 1 提供
  • normalized package name match
  • 匹配方式:Go
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: go from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

go 1.26-1.1

A compiled, garbage-collected, concurrent programming language

http://golang.org

sudo zypper install go
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go
  • 1 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go-doc 1.26-1.1

Go documentation

http://golang.org

sudo zypper install go-doc
  • License: BSD-3-Clause
  • Category: Documentation/Other
  • Architecture: x86_64
  • Source Package: go
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go-race 1.26-1.1

Go runtime race detector

https://compiler-rt.llvm.org/

sudo zypper install go-race
  • License: NCSA or MIT
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go-race from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go1.21 1.21.13-8.1

A compiled, garbage-collected, concurrent programming language

https://go.dev/

sudo zypper install go1.21
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go1.21
  • 6 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go1.21 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go1.22 1.22.12-4.1

A compiled, garbage-collected, concurrent programming language

https://go.dev/

sudo zypper install go1.22
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go1.22
  • 6 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go1.22 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go1.23 1.23.12-3.1

A compiled, garbage-collected, concurrent programming language

https://go.dev/

sudo zypper install go1.23
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go1.23
  • 6 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go1.23 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go1.24 1.24.13-2.1

A compiled, garbage-collected, concurrent programming language

https://go.dev/

sudo zypper install go1.24
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go1.24
  • 6 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go1.24 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go1.25 1.25.11-2.1

A compiled, garbage-collected, concurrent programming language

https://go.dev/

sudo zypper install go1.25
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go1.25
  • 6 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go1.25 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

go1.26 1.26.4-2.1

A compiled, garbage-collected, concurrent programming language

https://go.dev/

sudo zypper install go1.26
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: go1.26
  • 6 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Go
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: go1.26 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

go

sudo port install go
  • normalized package name match
  • 匹配方式:Go
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/go/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

go

choco install go
  • normalized package name match
  • 匹配方式:Go
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: go from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','glab'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

Combined YAML source

View the package source record on GitHub.

combined/go.yml

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment