tools: golang.ir/x/tools

Directories

PathSynopsis
cmd/goyaccGoyacc is a version of yacc for Go.
go/analysisPackage analysis defines the interface between a modular static analysis and an analysis driver program.
go/analysis/analysistestPackage analysistest provides utilities for testing analyzers.
go/analysis/multicheckerPackage multichecker defines the main function for an analysis driver with several analyzers.
go/analysis/singlecheckerPackage singlechecker defines the main function for an analysis driver with only a single analysis.
go/analysis/unitcheckerThe unitchecker package defines the main function for an analysis driver that analyzes a single compilation unit during a build.
go/cfgPackage cfg constructs a simple control-flow graph (CFG) of the statements and expressions within a single function.
go/expectPackage expect provides support for interpreting structured comments in Go source code as test expectations.
go/gccgoexportdataPackage gccgoexportdata provides functions for reading export data files containing type information produced by the gccgo compiler.
go/loaderPackage loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
txtarPackage txtar implements a trivial text-based file archive format.

Updated 2020-08-15. Refresh now. Tools for package owners.