pkg.sopackage field notes

brew / approval gates / rank 31

Install go with Homebrew

Open source programming language to build simple/reliable/efficient software. Version 1.26.5 via Homebrew; verified 2026-07-08.

agent safety

Agent safety answer

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

Credential access

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

Remote mutation

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

Publish/artifact risk

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

Recommended control

Gate release, private-module, and deployment commands.

Agent-use guidance

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install go

provider-native install command

overview

Package summary

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

Commands and aliases

  • go
  • gofmt

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

approval gates

Human review metadata for risky commands

The local approval-gate seed includes 7 rules for go. Covered entrypoints: go, gofmt. Severity labels: high, low, medium. Coverage: partial, reviewed 2026-05-21.

Example gated actions

  • 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.

executables

Installed executables

CommandKindExposureNote
goexecutableindexed executableDiscovered from the local executable index.
gofmtexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.26.5
manager updated2026-07-08
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:go
Version1.26.5
Package managerHomebrew
Homepagehttps://go.dev/
Last updated2026-07-08T03:14:15Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Combined YAML source

View the package source record on GitHub.

combined/go.yml

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • curated agent safety answer
  • curated package history
  • pkgdb category and tag curation