Imports of package source

PathSynopsis
bytesPackage bytes implements functions for the manipulation of byte slices.
contextPackage context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
encoding/jsonPackage json implements encoding and decoding of JSON as defined in RFC 7159.
errorsPackage errors implements functions to manipulate errors.
fmtPackage fmt implements formatted I/O with functions analogous to C's printf and scanf.
go/astPackage ast declares the types used to represent syntax trees for Go packages.
go/constantPackage constant implements Values representing untyped Go constants and their corresponding operations.
go/docPackage doc extracts source code documentation from a Go AST.
go/formatPackage format implements standard formatting of Go source.
go/parserPackage parser implements a parser for Go source files.
go/printerPackage printer implements printing of AST nodes.
go/scannerPackage scanner implements a scanner for Go source text.
go/tokenPackage token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
go/typesPackage types declares the data types and implements the algorithms for type-checking of Go packages.
golang.org/x/mod/modfilePackage modfile implements a parser and formatter for go.mod files.
golang.org/x/mod/modulePackage module defines the module.Version type along with support code.
golang.org/x/text/unicode/runenamesPackage runenames provides rune names from the Unicode Character Database.
golang.org/x/tools/go/analysisPackage analysis defines the interface between a modular static analysis and an analysis driver program.
golang.org/x/tools/go/analysis/passes/asmdeclPackage asmdecl defines an Analyzer that reports mismatches between assembly files and Go declarations.
golang.org/x/tools/go/analysis/passes/assignPackage assign defines an Analyzer that detects useless assignments.
golang.org/x/tools/go/analysis/passes/atomicPackage atomic defines an Analyzer that checks for common mistakes using the sync/atomic package.
golang.org/x/tools/go/analysis/passes/atomicalignPackage atomicalign defines an Analyzer that checks for non-64-bit-aligned arguments to sync/atomic functions.
golang.org/x/tools/go/analysis/passes/boolsPackage bools defines an Analyzer that detects common mistakes involving boolean operators.
golang.org/x/tools/go/analysis/passes/buildtagPackage buildtag defines an Analyzer that checks build tags.
golang.org/x/tools/go/analysis/passes/cgocallPackage cgocall defines an Analyzer that detects some violations of the cgo pointer passing rules.
golang.org/x/tools/go/analysis/passes/compositePackage composite defines an Analyzer that checks for unkeyed composite literals.
golang.org/x/tools/go/analysis/passes/copylockPackage copylock defines an Analyzer that checks for locks erroneously passed by value.
golang.org/x/tools/go/analysis/passes/deepequalerrorsPackage deepequalerrors defines an Analyzer that checks for the use of reflect.DeepEqual with error values.
golang.org/x/tools/go/analysis/passes/errorsasThe 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/fieldalignmentPackage fieldalignment defines an Analyzer that detects structs that would use less memory if their fields were sorted.
golang.org/x/tools/go/analysis/passes/httpresponsePackage httpresponse defines an Analyzer that checks for mistakes using HTTP responses.
golang.org/x/tools/go/analysis/passes/ifaceassertPackage ifaceassert defines an Analyzer that flags impossible interface-interface type assertions.
golang.org/x/tools/go/analysis/passes/loopclosurePackage loopclosure defines an Analyzer that checks for references to enclosing loop variables from within nested functions.
golang.org/x/tools/go/analysis/passes/lostcancelPackage lostcancel defines an Analyzer that checks for failure to call a context cancellation function.
golang.org/x/tools/go/analysis/passes/nilfuncPackage nilfunc defines an Analyzer that checks for useless comparisons against nil.
golang.org/x/tools/go/analysis/passes/nilnessPackage 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/printfPackage printf defines an Analyzer that checks consistency of Printf format strings and arguments.
golang.org/x/tools/go/analysis/passes/shadowPackage shadow defines an Analyzer that checks for shadowed variables.
golang.org/x/tools/go/analysis/passes/shiftPackage shift defines an Analyzer that checks for shifts that exceed the width of an integer.
golang.org/x/tools/go/analysis/passes/sortslicePackage 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/stdmethodsPackage 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/stringintconvPackage stringintconv defines an Analyzer that flags type conversions from integers to strings.
golang.org/x/tools/go/analysis/passes/structtagPackage structtag defines an Analyzer that checks struct field tags are well formed.
golang.org/x/tools/go/analysis/passes/testinggoroutinePackage testinggoroutine defines an Analyzerfor detecting calls to Fatal from a test goroutine.
golang.org/x/tools/go/analysis/passes/testsPackage tests defines an Analyzer that checks for common mistaken usages of tests and examples.
golang.org/x/tools/go/analysis/passes/unmarshalThe 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/unreachablePackage unreachable defines an Analyzer that checks for unreachable code.
golang.org/x/tools/go/analysis/passes/unsafeptrPackage unsafeptr defines an Analyzer that checks for invalid conversions of uintptr to unsafe.Pointer.
golang.org/x/tools/go/analysis/passes/unusedresultPackage unusedresult defines an analyzer that checks for unused results of calls to certain pure functions.
golang.org/x/tools/go/analysis/passes/unusedwritePackage unusedwrite checks for unused writes to the elements of a struct or array object.
golang.org/x/tools/go/ast/astutilPackage astutil contains common utilities for working with the Go AST.
golang.org/x/tools/go/packagesPackage packages loads Go packages for inspection and analysis.
golang.org/x/tools/go/types/typeutilPackage typeutil defines various utilities for types, such as Map, a hash table that maps types.Type to any value.
golang.org/x/tools/internal/analysisinternalPackage analysisinternal provides gopls' internal analyses with a number of helper functions that operate on typed syntax trees.
golang.org/x/tools/internal/eventPackage event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way.
golang.org/x/tools/internal/gocommandPackage gocommand is a helper for calling the go command.
golang.org/x/tools/internal/importsPackage 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/typeparamsPackage typeparams contains common utilities for writing tools that interact with generic Go code, as introduced with Go 1.18.
golang.org/x/tools/refactor/satisfyPackage 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/xerrorsPackage xerrors implements functions to manipulate errors.
ioPackage io provides basic interfaces to I/O primitives.
io/ioutilPackage ioutil implements some I/O utility functions.
osPackage os provides a platform-independent interface to operating system functionality.
path/filepathPackage filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths.
reflectPackage reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
regexpPackage regexp implements regular expression search.
runtimePackage runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
sortPackage sort provides primitives for sorting slices and user-defined collections.
strconvPackage strconv implements conversions to and from string representations of basic data types.
stringsPackage strings implements simple functions to manipulate UTF-8 encoded strings.
syncPackage sync provides basic synchronization primitives such as mutual exclusion locks.
text/scannerPackage scanner provides a scanner and tokenizer for UTF-8-encoded text.
timePackage time provides functionality for measuring and displaying time.
unicodePackage unicode provides data and functions to test some properties of Unicode code points.
unicode/utf8Package utf8 implements functions and constants to support text encoded in UTF-8.