tools: golang.org/x/tools/gopls/internal/hooks Index | Files

package hooks

import "golang.org/x/tools/gopls/internal/hooks"

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

Package Files

analysis.go diff.go hooks.go

func ComputeEdits Uses

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

func Options Uses

func Options(options *source.Options)

Package hooks imports 7 packages (graph) and is imported by 1 packages. Updated 2019-11-20. Refresh now. Tools for package owners.