Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sort ¶
func Sort(ds []Diagnostic)
Types ¶
type Diagnostic ¶
type Diagnostic struct {
RuleID string
Code string
Severity Severity
Category Category
Message string
Filename string
Range source.Range
Notes []RelatedLocation
Suggestions []Suggestion
Fix *Fix
}
func (*Diagnostic) Add ¶
func (d *Diagnostic) Add(dst *[]Diagnostic)
type RelatedLocation ¶
type Suggestion ¶
Click to show internal directories.
Click to hide internal directories.