import "golang.org/x/tools/internal/lsp/mod"
Package mod provides core features related to go.mod file handling for use by Go editors and tools.
code_lens.go diagnostics.go format.go hover.go
func Diagnostics(ctx context.Context, snapshot source.Snapshot) (map[source.VersionedFileIdentity][]*source.Diagnostic, error)
func ErrorsForMod(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle) ([]*source.Error, error)
func Format(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle) ([]protocol.TextEdit, error)
func Hover(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle, position protocol.Position) (*protocol.Hover, error)
LensFuncs returns the supported lensFuncs for go.mod files.
Package mod imports 14 packages (graph) and is imported by 4 packages. Updated 2021-01-21. Refresh now. Tools for package owners.