hooks

package
v0.10.1-pre.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: BSD-3-Clause Imports: 22 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(before, after string) (edits []diff.Edit)

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(before, after string) (edits []diff.Edit)

ComputeEdits computes a diff using the github.com/sergi/go-diff implementation.

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