internal

package
v0.0.0-...-c124c21 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextualizeFormatErrors

func ContextualizeFormatErrors(data []byte, err error) string

ContextualizeFormatErrors returns a more helpful multi-line string for formatting errors reported by go/format by extracting the nearby source lines for each reported scanner error. If the provided error is not a scanner.ErrorList this returns an empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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