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.