bytes | Package bytes implements functions for the manipulation of byte slices. |
context | Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
encoding/json | Package json implements encoding and decoding of JSON as defined in RFC 7159. |
errors | Package errors implements functions to manipulate errors. |
fmt | Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
go/ast | Package ast declares the types used to represent syntax trees for Go packages. |
go/constant | Package constant implements Values representing untyped Go constants and their corresponding operations. |
go/doc | Package doc extracts source code documentation from a Go AST. |
go/format | Package format implements standard formatting of Go source. |
go/parser | Package parser implements a parser for Go source files. |
go/printer | Package printer implements printing of AST nodes. |
go/scanner | Package scanner implements a scanner for Go source text. |
go/token | Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates). |
go/types | Package types declares the data types and implements the algorithms for type-checking of Go packages. |
golang.org/x/mod/modfile | Package modfile implements a parser and formatter for go.mod files. |
golang.org/x/mod/module | Package module defines the module.Version type along with support code. |
golang.org/x/text/unicode/runenames | Package runenames provides rune names from the Unicode Character Database. |
golang.org/x/tools/go/analysis | Package analysis defines the interface between a modular static analysis and an analysis driver program. |
golang.org/x/tools/go/analysis/passes/asmdecl | Package asmdecl defines an Analyzer that reports mismatches between assembly files and Go declarations. |
golang.org/x/tools/go/analysis/passes/assign | Package assign defines an Analyzer that detects useless assignments. |
golang.org/x/tools/go/analysis/passes/atomic | Package atomic defines an Analyzer that checks for common mistakes using the sync/atomic package. |
golang.org/x/tools/go/analysis/passes/atomicalign | Package atomicalign defines an Analyzer that checks for non-64-bit-aligned arguments to sync/atomic functions. |
golang.org/x/tools/go/analysis/passes/bools | Package bools defines an Analyzer that detects common mistakes involving boolean operators. |
golang.org/x/tools/go/analysis/passes/buildtag | Package buildtag defines an Analyzer that checks build tags. |
golang.org/x/tools/go/analysis/passes/cgocall | Package cgocall defines an Analyzer that detects some violations of the cgo pointer passing rules. |
golang.org/x/tools/go/analysis/passes/composite | Package composite defines an Analyzer that checks for unkeyed composite literals. |
golang.org/x/tools/go/analysis/passes/copylock | Package copylock defines an Analyzer that checks for locks erroneously passed by value. |
golang.org/x/tools/go/analysis/passes/deepequalerrors | Package deepequalerrors defines an Analyzer that checks for the use of reflect.DeepEqual with error values. |
golang.org/x/tools/go/analysis/passes/errorsas | The errorsas package defines an Analyzer that checks that the second argument to errors.As is a pointer to a type implementing error. |
golang.org/x/tools/go/analysis/passes/fieldalignment | Package fieldalignment defines an Analyzer that detects structs that would use less memory if their fields were sorted. |
golang.org/x/tools/go/analysis/passes/httpresponse | Package httpresponse defines an Analyzer that checks for mistakes using HTTP responses. |
golang.org/x/tools/go/analysis/passes/ifaceassert | Package ifaceassert defines an Analyzer that flags impossible interface-interface type assertions. |
golang.org/x/tools/go/analysis/passes/loopclosure | Package loopclosure defines an Analyzer that checks for references to enclosing loop variables from within nested functions. |
golang.org/x/tools/go/analysis/passes/lostcancel | Package lostcancel defines an Analyzer that checks for failure to call a context cancellation function. |
golang.org/x/tools/go/analysis/passes/nilfunc | Package nilfunc defines an Analyzer that checks for useless comparisons against nil. |
golang.org/x/tools/go/analysis/passes/nilness | Package nilness inspects the control-flow graph of an SSA function and reports errors such as nil pointer dereferences and degenerate nil pointer comparisons. |
golang.org/x/tools/go/analysis/passes/printf | Package printf defines an Analyzer that checks consistency of Printf format strings and arguments. |
golang.org/x/tools/go/analysis/passes/shadow | Package shadow defines an Analyzer that checks for shadowed variables. |
golang.org/x/tools/go/analysis/passes/shift | Package shift defines an Analyzer that checks for shifts that exceed the width of an integer. |
golang.org/x/tools/go/analysis/passes/sortslice | Package sortslice defines an Analyzer that checks for calls to sort.Slice that do not use a slice type as first argument. |
golang.org/x/tools/go/analysis/passes/stdmethods | Package stdmethods defines an Analyzer that checks for misspellings in the signatures of methods similar to well-known interfaces. |
golang.org/x/tools/go/analysis/passes/stringintconv | Package stringintconv defines an Analyzer that flags type conversions from integers to strings. |
golang.org/x/tools/go/analysis/passes/structtag | Package structtag defines an Analyzer that checks struct field tags are well formed. |
golang.org/x/tools/go/analysis/passes/testinggoroutine | Package testinggoroutine defines an Analyzerfor detecting calls to Fatal from a test goroutine. |
golang.org/x/tools/go/analysis/passes/tests | Package tests defines an Analyzer that checks for common mistaken usages of tests and examples. |
golang.org/x/tools/go/analysis/passes/unmarshal | The unmarshal package defines an Analyzer that checks for passing non-pointer or non-interface types to unmarshal and decode functions. |
golang.org/x/tools/go/analysis/passes/unreachable | Package unreachable defines an Analyzer that checks for unreachable code. |
golang.org/x/tools/go/analysis/passes/unsafeptr | Package unsafeptr defines an Analyzer that checks for invalid conversions of uintptr to unsafe.Pointer. |
golang.org/x/tools/go/analysis/passes/unusedresult | Package unusedresult defines an analyzer that checks for unused results of calls to certain pure functions. |
golang.org/x/tools/go/analysis/passes/unusedwrite | Package unusedwrite checks for unused writes to the elements of a struct or array object. |
golang.org/x/tools/go/ast/astutil | Package astutil contains common utilities for working with the Go AST. |
golang.org/x/tools/go/packages | Package packages loads Go packages for inspection and analysis. |
golang.org/x/tools/go/types/typeutil | Package typeutil defines various utilities for types, such as Map, a hash table that maps types.Type to any value. |
golang.org/x/tools/internal/analysisinternal | Package analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees. |
golang.org/x/tools/internal/event | Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way. |
golang.org/x/tools/internal/gocommand | Package gocommand is a helper for calling the go command. |
golang.org/x/tools/internal/imports | Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. |
golang.org/x/tools/internal/lsp/analysis/fillreturns | |
golang.org/x/tools/internal/lsp/analysis/fillstruct | |
golang.org/x/tools/internal/lsp/analysis/infertypeargs | |
golang.org/x/tools/internal/lsp/analysis/nonewvars | |
golang.org/x/tools/internal/lsp/analysis/noresultvalues | |
golang.org/x/tools/internal/lsp/analysis/simplifycompositelit | |
golang.org/x/tools/internal/lsp/analysis/simplifyrange | |
golang.org/x/tools/internal/lsp/analysis/simplifyslice | |
golang.org/x/tools/internal/lsp/analysis/stubmethods | |
golang.org/x/tools/internal/lsp/analysis/undeclaredname | |
golang.org/x/tools/internal/lsp/analysis/unusedparams | |
golang.org/x/tools/internal/lsp/analysis/useany | |
golang.org/x/tools/internal/lsp/command | |
golang.org/x/tools/internal/lsp/debug/tag | |
golang.org/x/tools/internal/lsp/diff | |
golang.org/x/tools/internal/lsp/diff/myers | |
golang.org/x/tools/internal/lsp/fuzzy | |
golang.org/x/tools/internal/lsp/lsppos | |
golang.org/x/tools/internal/lsp/progress | |
golang.org/x/tools/internal/lsp/protocol | |
golang.org/x/tools/internal/span | |
golang.org/x/tools/internal/typeparams | Package typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18. |
golang.org/x/tools/refactor/satisfy | Package satisfy inspects the type-checked ASTs of Go packages and reports the set of discovered type constraints of the form (lhs, rhs Type) where lhs is a non-trivial interface, rhs satisfies this interface, and this fact is necessary for the package to be well-typed. |
golang.org/x/xerrors | Package xerrors implements functions to manipulate errors. |
io | Package io provides basic interfaces to I/O primitives. |
io/ioutil | Package ioutil implements some I/O utility functions. |
os | Package os provides a platform-independent interface to operating system functionality. |
path/filepath | Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. |
reflect | Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types. |
regexp | Package regexp implements regular expression search. |
runtime | Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. |
sort | Package sort provides primitives for sorting slices and user-defined collections. |
strconv | Package strconv implements conversions to and from string representations of basic data types. |
strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |
sync | Package sync provides basic synchronization primitives such as mutual exclusion locks. |
text/scanner | Package scanner provides a scanner and tokenizer for UTF-8-encoded text. |
time | Package time provides functionality for measuring and displaying time. |
unicode | Package unicode provides data and functions to test some properties of Unicode code points. |
unicode/utf8 | Package utf8 implements functions and constants to support text encoded in UTF-8. |