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

# Functions

New returns a new Application ready to run.

# Constants

prefixes for semantic token comments.
prefixes for semantic token comments.

# Variables

ErrInvalidRenamePosition is returned when prepareRename is run at a position that is not a candidate for renaming.

# Structs

Application is the main application as passed to tool.Main It handles the main command line parsing and dispatch to the sub commands.
A Definition is the result of a 'definition' query.
EditFlags defines flags common to {code{action,lens},format,imports,rename} that control how edits are applied to the client's files.
GoplsStats holds information extracted from a gopls session in the current workspace.
Serve is a struct that exposes the configurable parts of the LSP server as flags, in the right form for tool.Main to consume.