Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplySeverity ¶
func ApplySeverity(diags []Diagnostic, strict bool)
func Sort ¶
func Sort(diags []Diagnostic)
Types ¶
type Diagnostic ¶
type Diagnostic struct {
Code string `json:"code"`
Severity Severity `json:"severity"`
File string `json:"file,omitempty"`
Line int `json:"line,omitempty"`
Column int `json:"column,omitempty"`
Message string `json:"message"`
Fix string `json:"fix,omitempty"`
Reference string `json:"reference,omitempty"`
Kind string `json:"kind,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.