mod

package
Version: v0.0.0-...-5dca613 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package mod provides core features related to go.mod file handling for use by Go editors and tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle) ([]protocol.TextEdit, error)

func Hover

func Hover(ctx context.Context, snapshot source.Snapshot, fh source.FileHandle, position protocol.Position) (*protocol.Hover, error)

func LensFuncs

func LensFuncs() map[string]source.LensFunc

LensFuncs returns the supported lensFuncs for go.mod files.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto