tools: golang.ir/x/tools

Directories

PathSynopsis
cmd/bundleBundle creates a single-source-file version of a source package suitable for inclusion in a particular target package.
cmd/compilebenchCompilebench benchmarks the speed of the Go compiler.
cmd/fiximportsThe fiximports command fixes import declarations to use the canonical import path for packages that have an "import comment" as defined by https://golang.org/s/go14customimport.
cmd/getgoThe getgo command installs Go to the user's system.
cmd/getgo/serverCommand server serves get.golang.org, redirecting users to the appropriate getgo installer based on the request path.
cmd/go-contrib-initThe go-contrib-init command helps new Go contributors get their development environment set up for the Go contribution process.
cmd/gomvpkgThe gomvpkg command moves go packages, updating import declarations.
cmd/gotypeThe gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package.
cmd/goyaccGoyacc is a version of yacc for Go.
cmd/presentPresent displays slide presentations and articles.
cmd/present2mdPresent2md converts legacy-syntax present files to Markdown-syntax present files.
cmd/stressThe stress utility is intended for catching sporadic failures.
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-10-28. Refresh now. Tools for package owners.