 Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees. | Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees. | 
| Package diff computes differences between text files or strings. | Package diff computes differences between text files or strings. | 
| 
          
            lcs
            
            
          
           package lcs contains code to find longest-common-subsequences (and diffs) | package lcs contains code to find longest-common-subsequences (and diffs) | 
| Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way. | Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way. | 
| 
          
            core
            
            
          
           Package core provides support for event based telemetry. | Package core provides support for event based telemetry. | 
| 
          
            export/metric
            
            
          
           Package metric aggregates events into metrics that can be exported. | Package metric aggregates events into metrics that can be exported. | 
| 
          
            export/ocagent
            
            
          
           Package ocagent adds the ability to export all telemetry to an ocagent. | Package ocagent adds the ability to export all telemetry to an ocagent. | 
| 
          
            tag
            
            
          
           Package tag provides the labels used for telemetry throughout gopls. | Package tag provides the labels used for telemetry throughout gopls. | 
| Package facts defines a serializable set of analysis.Fact. | Package facts defines a serializable set of analysis.Fact. | 
| Package fuzzy implements a fuzzy matching algorithm. | Package fuzzy implements a fuzzy matching algorithm. | 
| 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. | 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. | 
| Package gocommand is a helper for calling the go command. | Package gocommand is a helper for calling the go command. | 
| Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT. | Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT. | 
| Package goroot is a copy of package internal/goroot in the main GO repot. | Package goroot is a copy of package internal/goroot in the main GO repot. | 
| Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. | Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. | 
| Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. | Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. | 
| 
          
            servertest
            
            
          
           Package servertest provides utilities for running tests against a remote LSP server. | Package servertest provides utilities for running tests against a remote LSP server. | 
| Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. | Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. | 
| Package memoize defines a "promise" abstraction that enables memoization of the result of calling an expensive but idempotent function. | Package memoize defines a "promise" abstraction that enables memoization of the result of calling an expensive but idempotent function. | 
| Package packagesinternal exposes internal-only fields from go/packages. | Package packagesinternal exposes internal-only fields from go/packages. | 
| Package pkgbits implements low-level coding abstractions for Unified IR's export data format. | Package pkgbits implements low-level coding abstractions for Unified IR's export data format. | 
| 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>". | 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>". | 
| refactor
       | |
| 
          
            inline
            
            
          
           Package inline implements inlining of Go function calls. | Package inline implements inlining of Go function calls. | 
| Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout. | Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout. | 
| Package testenv contains helper functions for skipping tests based on which tools are present in the environment. | Package testenv contains helper functions for skipping tests based on which tools are present in the environment. | 
| package tokeninternal provides access to some internal features of the token package. | package tokeninternal provides access to some internal features of the token package. | 
| Package tool is a harness for writing Go tools. | Package tool is a harness for writing Go tools. | 
| Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18. | Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18. | 
| Package typesinternal provides access to internal go/types APIs that are not yet exported. | Package typesinternal provides access to internal go/types APIs that are not yet exported. | 
| Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package. | Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package. | 
 Click to show internal directories. 
   Click to hide internal directories.