tools/ directory

Directories

PathSynopsis
internal/golangorgx/tools/aliases
internal/golangorgx/tools/analysisinternalPackage analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees.
internal/golangorgx/tools/astutil
internal/golangorgx/tools/diffPackage diff computes differences between text files or strings.
internal/golangorgx/tools/diff/lcspackage lcs contains code to find longest-common-subsequences (and diffs)
internal/golangorgx/tools/eventPackage event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way.
internal/golangorgx/tools/event/corePackage core provides support for event based telemetry.
internal/golangorgx/tools/event/export
internal/golangorgx/tools/event/export/metricPackage metric aggregates events into metrics that can be exported.
internal/golangorgx/tools/event/export/ocagentPackage ocagent adds the ability to export all telemetry to an ocagent.
internal/golangorgx/tools/event/export/ocagent/wire
internal/golangorgx/tools/event/export/prometheus
internal/golangorgx/tools/event/keys
internal/golangorgx/tools/event/label
internal/golangorgx/tools/event/tagPackage tag provides the labels used for telemetry throughout gopls.
internal/golangorgx/tools/factsPackage facts defines a serializable set of analysis.Fact.
internal/golangorgx/tools/fakenet
internal/golangorgx/tools/fuzzyPackage fuzzy implements a fuzzy matching algorithm.
internal/golangorgx/tools/gcimporterPackage gcimporter provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package.
internal/golangorgx/tools/gocommandPackage gocommand is a helper for calling the go command.
internal/golangorgx/tools/gopathwalkPackage gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT.
internal/golangorgx/tools/gorootPackage goroot is a copy of package internal/goroot in the main GO repot.
internal/golangorgx/tools/importsPackage imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
internal/golangorgx/tools/jsonrpc2Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
internal/golangorgx/tools/jsonrpc2/servertestPackage servertest provides utilities for running tests against a remote LSP server.
internal/golangorgx/tools/jsonrpc2_v2Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
internal/golangorgx/tools/memoizePackage memoize defines a "promise" abstraction that enables memoization of the result of calling an expensive but idempotent function.
internal/golangorgx/tools/packagesinternalPackage packagesinternal exposes internal-only fields from go/packages.
internal/golangorgx/tools/pkgbitsPackage pkgbits implements low-level coding abstractions for Unified IR's export data format.
internal/golangorgx/tools/proxydirPackage proxydir provides functions for writing module data to a directory in proxy format, so that it can be used as a module proxy by setting GOPROXY="file://<dir>".
internal/golangorgx/tools/refactor
internal/golangorgx/tools/refactor/inlinePackage inline implements inlining of Go function calls.
internal/golangorgx/tools/robustioPackage robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.
internal/golangorgx/tools/testenvPackage testenv contains helper functions for skipping tests based on which tools are present in the environment.
internal/golangorgx/tools/tokeninternalpackage tokeninternal provides access to some internal features of the token package.
internal/golangorgx/tools/toolPackage tool is a harness for writing Go tools.
internal/golangorgx/tools/typeparamsPackage typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18.
internal/golangorgx/tools/typesinternalPackage typesinternal provides access to internal go/types APIs that are not yet exported.
internal/golangorgx/tools/versions
internal/golangorgx/tools/xcontextPackage xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
Version
v0.12.0 (latest)
Published
Jan 30, 2025
Platform
linux/amd64
Last checked
8 hours ago

Tools for package owners.