hooks

package
v0.9.3-pre.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 27 Imported by: 0

Documentation

Overview

Package hooks adds all the standard gopls implementations. This can be used in tests without needing to use the gopls main, and is also the place to edit for custom builds of gopls.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BothDiffs added in v0.9.2

func BothDiffs(uri span.URI, before, after string) (edits []diff.TextEdit, err error)

BothDiffs edits calls both the new and old diffs, checks that the new diffs change before into after, and attempts to preserve some statistics.

func ComputeEdits

func ComputeEdits(uri span.URI, before, after string) (edits []diff.TextEdit, err error)

func Options

func Options(options *source.Options)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL