Skip to content
SPECIFICTION
Get listed

Go Modules

go.dev

WindowsmacOSLinuxiOSAndroid
Visit go.dev
Spec score 8.0 #36 of 93 in Package Managers

Spec sheet

Purpose
Go modules are how Go manages dependencies.Read 2 Oct 2026 · go.dev
Free plan
YesRead 21 Sep 2026 · go.dev
Security
By default, the go command downloads and authenticates modules using the Go module mirror and checksum database run by Google; the documentation describes how to configure or disable those services.Read 2 Oct 2026 · go.dev
Support
The Go project directs usage questions to the golang-nuts mailing list and code change discussions to golang-dev.Read 2 Oct 2026 · go.dev
License
Go is an open source project distributed under a BSD-style license.Read 1 Oct 2026 · go.dev
Automatic updates
Commands that load the module graph automatically update go.mod when needed.Read 1 Oct 2026 · go.dev
Checksum database
The public checksum database provides a global source of go.sum lines to verify module contents.Read 1 Oct 2026 · go.dev
Compatibility requirement
Since Go 1.21, a toolchain refuses to use a module that declares a newer Go version than the toolchain supports.Read 2 Oct 2026 · go.dev
Dependency file
Each module is defined by a UTF-8 encoded go.mod file in its root directory.Read 1 Oct 2026 · go.dev
Dependency metadata
A module is identified by its module path, declared in a go.mod file together with information about its dependencies.Read 2 Oct 2026 · go.dev
Dependency resolution
YesRead 21 Sep 2026 · go.dev
Dependency sources
Modules may be downloaded directly from version control repositories or from module proxy servers.Read 2 Oct 2026 · go.dev
Integrity verification
Downloaded module hashes are checked against go.sum and mismatches produce a security error without installing the file.Read 1 Oct 2026 · go.dev
Lockfile support
YesRead 21 Sep 2026 · go.dev
Module model
A module is a collection of packages released, versioned, and distributed together.Read 1 Oct 2026 · go.dev
Module proxy
The go command defaults to downloading modules from the public Go module mirror for Go 1.13 and later module users.Read 1 Oct 2026 · go.dev
Module structure
A module is a collection of packages that are released, versioned, and distributed together.Read 2 Oct 2026 · go.dev
Offline installation
YesRead 21 Sep 2026 · go.dev
Origin
Go was created at Google in 2007 and released publicly in November 2009.Read 1 Oct 2026 · go.dev
Package formats
Go modules,module ZIP filesRead 21 Sep 2026 · go.dev
Private dependencies
The Go Modules reference documents environment variables including GOPRIVATE and GONOPROXY for controlling module lookup behavior.Read 2 Oct 2026 · go.dev
Private modules
The go command can download and build modules from private sources with configuration such as GOPRIVATE and GOPROXY.Read 1 Oct 2026 · go.dev
Private registry auth
YesRead 21 Sep 2026 · go.dev
Project and license
Go is an open source project developed by a team at Google and community contributors, and is distributed under a BSD-style license.Read 2 Oct 2026 · go.dev
Proxy configuration
The go command's GOPROXY setting can specify proxy URLs or the keywords direct or off.Read 2 Oct 2026 · go.dev
Reproducible builds
Minimal version selection provides consistent module versions and 100% reproducible builds.Read 1 Oct 2026 · go.dev
Security support
Go security reports are acknowledged within 7 days and issues are fixed or made public within 90 days after acknowledgement.Read 1 Oct 2026 · go.dev
Supported platforms
Linux,macOS,WindowsRead 21 Sep 2026 · go.dev
Supported systems
Go compilers can target AIX, Android, DragonFly BSD, FreeBSD, Illumos, Linux, macOS/iOS, NetBSD, OpenBSD, Plan 9, Solaris, and Windows.Read 1 Oct 2026 · go.dev
Versioning
Each module version identifies an immutable snapshot and uses a v-prefixed semantic version.Read 2 Oct 2026 · go.dev
Vulnerability checking
The govulncheck tool identifies known vulnerabilities affecting code and helps prioritize next steps based on whether vulnerable functions and methods are called.Read 2 Oct 2026 · go.dev
Workspace support
YesRead 21 Sep 2026 · go.dev
Workspaces
A go.work file defines a workspace that can use multiple modules.Read 1 Oct 2026 · go.dev

Where Specifiction places it

Alternatives to Go ModulesAll alternatives →