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

# Functions

HashOf returns the hash of some data.
KindForLang returns the gopls file [Kind] associated with the given LSP LanguageKind string from protocol.TextDocumentItem.LanguageID, or UnknownKind if the language is not one recognized by gopls.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Go is a Go source file.
Mod is a go.mod file.
No description provided by the author
No description provided by the author
Sum is a go.sum file.
Tmpl is a template file.
No description provided by the author
UnknownKind is a file type we don't know about.
Work is a go.work file.

# Structs

An Identity identifies the name and contents of a file.
Modification represents a modification to a file.

# Interfaces

A FileHandle represents the URI, content, hash, and optional version of a file tracked by the LSP session.
A Source maps URIs to Handles.

# Type aliases

An Action is a type of file state change.
A Hash is a cryptographic digest of the contents of a file.
Kind describes the kind of the file in question.