go/ directory

Directories

PathSynopsis
go/astPackage ast declares the types used to represent syntax trees for Go packages.
go/ast/internal
go/buildPackage build gathers information about Go packages.
go/build/constraintPackage constraint implements parsing and evaluation of build constraint lines.
go/constantPackage constant implements Values representing untyped Go constants and their corresponding operations.
go/docPackage doc extracts source code documentation from a Go AST.
go/doc/commentPackage 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.
go/formatPackage format implements standard formatting of Go source.
go/importerPackage importer provides access to export data importers.
go/internal
go/parserPackage parser implements a parser for Go source files.
go/printerPackage printer implements printing of AST nodes.
go/scannerPackage scanner implements a scanner for Go source text.
go/tokenPackage token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
go/typesPackage types declares the data types and implements the algorithms for type-checking of Go packages.
go/versionPackage 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".
Version
v1.24.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Last checked
13 minutes ago

Tools for package owners.