package
0.18.1
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

DiagnosticWorkTitle returns the title of the diagnostic work resulting from a file change originating from the given cause.
New creates an LSP server and binds it to handle incoming client messages on the supplied stream.

# Constants

These strings are reported as the final WorkDoneProgressEnd message for each workspace/executeCommand request.
These strings are reported as the final WorkDoneProgressEnd message for each workspace/executeCommand request.
These strings are reported as the final WorkDoneProgressEnd message for each workspace/executeCommand request.
overridden for testing.
overridden for testing.
FromCheckUpgrades refers to state changes resulting from the CheckUpgrades command, which queries module upgrades.
FromDidChange is from a didChange notification.
FromDidChangeConfiguration is from a didChangeConfiguration notification.
FromDidChangeWatchedFiles is from didChangeWatchedFiles notification.
FromDidClose is from a didClose notification.
FromDidOpen is from a didOpen notification.
FromDidSave is from a didSave notification.
FromInitialWorkspaceLoad refers to the loading of all packages in the workspace when the view is first created.
FromRegenerateCgo refers to file modifications caused by regenerating the cgo sources for the workspace.
FromResetGoModDiagnostics refers to state changes resulting from the ResetGoModDiagnostics command.
FromToggleCompilerOptDetails refers to state changes resulting from toggling a package's compiler optimization details flag.
overridden for testing.
telemetry start time recored in client.
sampling token.
No description provided by the author
The following constants are used for testing telemetry integration.
progress notification title, for awaiting in tests.
The following constants are used for testing telemetry integration.
No description provided by the author

# Variables

exported so tests can verify that counters are incremented.

# Type aliases

ModificationSource identifies the origin of a change.