go/
directorystandard library go1.25.5
Go to latest Published: Dec 2, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Directories¶
| Path | Synopsis |
|---|---|
Package ast declares the types used to represent syntax trees for Go packages. | Package ast declares the types used to represent syntax trees for Go packages. |
Package build gathers information about Go packages. | Package build gathers information about Go packages. |
constraint Package constraint implements parsing and evaluation of build constraint lines. | Package constraint implements parsing and evaluation of build constraint lines. |
Package constant implements Values representing untyped Go constants and their corresponding operations. | Package constant implements Values representing untyped Go constants and their corresponding operations. |
Package doc extracts source code documentation from a Go AST. | Package doc extracts source code documentation from a Go AST. |
comment Package comment implements parsing and reformatting of Go doc comments, (documentation comments), which are comments that immediately precede a top-level declaration of a package, const, func, type, or var. | Package comment implements parsing and reformatting of Go doc comments, (documentation comments), which are comments that immediately precede a top-level declaration of a package, const, func, type, or var. |
Package format implements standard formatting of Go source. | Package format implements standard formatting of Go source. |
Package importer provides access to export data importers. | Package importer provides access to export data importers. |
internal | |
gccgoimporter Package gccgoimporter implements Import for gccgo-generated object files. | Package gccgoimporter implements Import for gccgo-generated object files. |
gcimporter Package gcimporter implements Import for gc-generated object files. | Package gcimporter implements Import for gc-generated object files. |
srcimporter Package srcimporter implements importing directly from source files rather than installed packages. | Package srcimporter implements importing directly from source files rather than installed packages. |
Package parser implements a parser for Go source files. | Package parser implements a parser for Go source files. |
Package printer implements printing of AST nodes. | Package printer implements printing of AST nodes. |
Package scanner implements a scanner for Go source text. | Package scanner implements a scanner for Go source text. |
Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates). | Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates). |
Package types declares the data types and implements the algorithms for type-checking of Go packages. | Package types declares the data types and implements the algorithms for type-checking of Go packages. |
Package version provides operations on [Go versions] in [Go toolchain name syntax]: strings like "go1.20", "go1.21.0", "go1.22rc2", and "go1.23.4-bigcorp". | Package version provides operations on [Go versions] in [Go toolchain name syntax]: strings like "go1.20", "go1.21.0", "go1.22rc2", and "go1.23.4-bigcorp". |
Click to show internal directories.
Click to hide internal directories.