internal/analysisinternalPackage analysisinternal exposes internal-only fields from go/analysis.
internal/eventPackage event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way.
internal/event/corePackage core provides support for event based telemetry.
internal/event/export/eventtestPackage eventtest supports logging events to a test.
internal/event/export/metricPackage metric aggregates events into metrics that can be exported.
internal/event/export/ocagentPackage ocagent adds the ability to export all telemetry to an ocagent.
internal/fastwalkPackage fastwalk provides a faster version of filepath.Walk for file system scanning tools.
internal/gocommandPackage gocommand is a helper for calling the go command.
internal/gopathwalkPackage gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT.
internal/importsPackage imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
internal/jsonrpc2Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
internal/jsonrpc2/servertestPackage servertest provides utilities for running tests against a remote LSP server.
internal/jsonrpc2_v2Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
internal/lspPackage lsp implements LSP for gopls.
internal/lsp/analysis/fillreturnsPackage fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements.
internal/lsp/analysis/fillstructPackage fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field.
internal/lsp/analysis/infertypeargsPackage infertypeargs defines an analyzer that checks for explicit function arguments that could be inferred.
internal/lsp/analysis/nonewvarsPackage nonewvars defines an Analyzer that applies suggested fixes to errors of the type "no new variables on left side of :=".
internal/lsp/analysis/noresultvaluesPackage noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected".
internal/lsp/analysis/simplifycompositelitPackage simplifycompositelit defines an Analyzer that simplifies composite literals.
internal/lsp/analysis/simplifyrangePackage simplifyrange defines an Analyzer that simplifies range statements.
internal/lsp/analysis/simplifyslicePackage simplifyslice defines an Analyzer that simplifies slice statements.
internal/lsp/analysis/undeclarednamePackage undeclaredname defines an Analyzer that applies suggested fixes to errors of the type "undeclared name: %s".
internal/lsp/analysis/unusedparamsPackage unusedparams defines an analyzer that checks for unused parameters of functions.
internal/lsp/analysis/useanyPackage useany defines an Analyzer that checks for usage of interface{} in constraints, rather than the predeclared any.
internal/lsp/browserPackage browser provides utilities for interacting with users' browsers.
internal/lsp/cachePackage cache implements the caching layer for gopls.
internal/lsp/cmdPackage cmd handles the gopls command line.
internal/lsp/cmd/testPackage cmdtest contains the test suite for the command line behavior of gopls.
internal/lsp/commandPackage command defines the interface provided by gopls for the workspace/executeCommand LSP request.
internal/lsp/command/commandmetaPackage commandmeta provides metadata about LSP commands, by analyzing the command.Interface type.
internal/lsp/command/genPackage gen is used to generate command bindings from the gopls command interface.
internal/lsp/debugPackage debug exports debug information for gopls.
internal/lsp/debug/logPackage log provides helper methods for exporting log events to the internal/event package.
internal/lsp/debug/tagPackage tag provides the labels used for telemetry throughout gopls.
internal/lsp/diffPackage diff supports a pluggable diff algorithm.
internal/lsp/diff/difftestPackage difftest supplies a set of tests that will operate on any implementation of a diff algorithm as exposed by ""
internal/lsp/diff/myersPackage myers implements the Myers diff algorithm.
internal/lsp/fakePackage fake provides fake implementations of a text editor, LSP client plugin, and Sandbox environment for use in tests.
internal/lsp/fuzzyPackage fuzzy implements a fuzzy matching algorithm.
internal/lsp/helperInvoke with //go:generate helper/helper -t Server -d protocol/tsserver.go -u lsp -o server_gen.go invoke in internal/lsp
internal/lsp/lspposPackage lsppos provides utilities for working with LSP positions.
internal/lsp/lsprpcPackage lsprpc implements a jsonrpc2.StreamServer that may be used to serve the LSP on a jsonrpc2 channel.
internal/lsp/modPackage mod provides core features related to go.mod file handling for use by Go editors and tools.
internal/lsp/protocolPackage protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
internal/lsp/regtestPackage regtest provides a framework for writing gopls regression tests.
internal/lsp/snippetPackage snippet implements the specification for the LSP snippet format.
internal/lsp/sourcePackage source provides core features for use by Go editors and tools.
internal/lsp/source/completionPackage completion provides core functionality for code completion in Go editors and tools.
internal/lsp/templatePackage template contains code for dealing with templates
internal/lsp/testsPackage tests exports functionality to be used across a variety of gopls tests.
internal/memoizePackage memoize supports memoizing the return values of functions with idempotent results that are expensive to compute.
internal/mod/lazyregexpPackage lazyregexp is a thin wrapper over regexp, allowing the use of global regexp variables without forcing them to be compiled at init.
internal/mod/modfilePackage modfile implements a parser and formatter for go.mod files.
internal/packagesinternalPackage packagesinternal exposes internal-only fields from go/packages.
internal/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/spanPackage span contains support for representing with positions and ranges in text files.
internal/stackPackage stack provides support for parsing standard goroutine stack traces.
internal/stack/gostacksThe gostacks command processes stdin looking for things that look like stack traces and simplifying them to make the log more readable.
internal/testenvPackage testenv contains helper functions for skipping tests based on which tools are present in the environment.
internal/toolPackage tool is a harness for writing Go tools.
internal/typeparamsPackage typeparams provides functions to work indirectly with type parameter data stored in go/ast and go/types objects, while these API are guarded by a build constraint.
internal/typeparams/genericfeaturesThe genericfeatures package provides utilities for detecting usage of generic programming in Go packages.
internal/typesinternalPackage typesinternal provides access to internal go/types APIs that are not yet exported.
internal/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.1.8 (latest) | Published Dec 2, 2021 | Platform: linux/amd64 | Updated 3 weeks ago

Tools for package owners.