diagnostic

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diagnostic

type Diagnostic struct {
	Message string
}

A Diagnostic represents one specific problem diagnosed by a check.

type WithContext

type WithContext struct {
	Diagnostic  Diagnostic
	Check       string
	Remediation string
	Object      lintcontext.Object
}

WithContext puts a diagnostic in the context of which check emitted it, and which object it applied to.

Jump to

Keyboard shortcuts

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