internal/ directory
Directories ΒΆ
Path | Synopsis |
---|---|
internal/aliases | |
internal/analysisinternal | Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees. |
internal/astutil | |
internal/astutil/cursor | Package cursor augments inspector.Inspector with Cursor functionality allowing more flexibility and control during inspection. |
internal/astutil/edge | Package edge defines identifiers for each field of an ast.Node struct type that refers to another Node. |
internal/bisect | Package bisect can be used by compilers and other programs to serve as a target for the bisect debugging tool. |
internal/diff | Package diff computes differences between text files or strings. |
internal/diff/difftest | Package difftest supplies a set of tests that will operate on any implementation of a diff algorithm as exposed by "golang.org/x/tools/internal/diff" |
internal/diff/lcs | package lcs contains code to find longest-common-subsequences (and diffs) |
internal/diff/myers | Package myers implements the Myers diff algorithm. |
internal/diffp | Package diffp implements a basic diff algorithm equivalent to patience diff. |
internal/drivertest | The drivertest package provides a fake implementation of the go/packages driver protocol that delegates to the go list driver. |
internal/edit | Package edit implements buffered position-based editing of byte slices. |
internal/event | Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way. |
internal/event/core | Package core provides support for event based telemetry. |
internal/event/export | |
internal/event/export/eventtest | Package eventtest supports logging events to a test. |
internal/event/export/metric | Package metric aggregates events into metrics that can be exported. |
internal/event/export/ocagent | Package ocagent adds the ability to export all telemetry to an ocagent. |
internal/event/export/ocagent/wire | |
internal/event/export/prometheus | |
internal/event/keys | |
internal/event/label | |
internal/expect | Package expect provides support for interpreting structured comments in Go source code (including go.mod and go.work files) as test expectations. |
internal/facts | Package facts defines a serializable set of analysis.Fact. |
internal/fakenet | |
internal/fmtstr | Package fmtstr defines a parser for format strings as used by fmt.Printf. |
internal/gcimporter | Package 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/gocommand | Package gocommand is a helper for calling the go command. |
internal/gopathwalk | Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT. |
internal/goroot | Package goroot is a copy of package internal/goroot in the main GO repot. |
internal/imports | Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. |
internal/jsonrpc2 | Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. |
internal/jsonrpc2/servertest | Package servertest provides utilities for running tests against a remote LSP server. |
internal/jsonrpc2_v2 | Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. |
internal/memoize | Package memoize defines a "promise" abstraction that enables memoization of the result of calling an expensive but idempotent function. |
internal/modindex | Package modindex contains code for building and searching an index to the Go module cache. |
internal/modindex/gomodindex | A command for building and maintaing the module cache a.out <flags> <command> <args> The commands are 'create' which builds a new index, 'update', which attempts to update an existing index, 'query', which looks up things in the index. |
internal/packagesinternal | Package packagesinternal exposes internal-only fields from go/packages. |
internal/packagestest | Package packagestest creates temporary projects on disk for testing go tools on. |
internal/pkgbits | Package pkgbits implements low-level coding abstractions for Unified IR's export data format. |
internal/pprof | Package pprof provides minimalistic routines for extracting information from profiles. |
internal/proxydir | Package 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/refactor | |
internal/refactor/inline | Package inline implements inlining of Go function calls. |
internal/robustio | Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout. |
internal/stack | Package stack provides support for parsing standard goroutine stack traces. |
internal/stack/gostacks | The gostacks command processes stdin looking for things that look like stack traces and simplifying them to make the log more readable. |
internal/stack/stacktest | |
internal/stdlib | Package stdlib provides a table of all exported symbols in the standard library, along with the version at which they first appeared. |
internal/testenv | Package testenv contains helper functions for skipping tests based on which tools are present in the environment. |
internal/testfiles | Package testfiles provides utilities for writing Go tests with files in testdata. |
internal/tokeninternal | package tokeninternal provides access to some internal features of the token package. |
internal/tool | Package tool is a harness for writing Go tools. |
internal/typeparams | Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18. |
internal/typeparams/genericfeatures | The genericfeatures package provides utilities for detecting usage of generic programming in Go packages. |
internal/typesinternal | Package typesinternal provides access to internal go/types APIs that are not yet exported. |
internal/versions | |
internal/xcontext | Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package. |
- Version
- v0.30.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Last checked
- 5 hours ago –
Tools for package owners.