Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckStyle ¶
type CheckStyle struct {
XMLName xml.Name `xml:"checkstyle"`
Version string `xml:"version,attr"`
Files []CheckStyleFile `xml:"file"`
}
type CheckStyleError ¶
type CheckStyleFile ¶
type CheckStyleFile struct {
XMLName xml.Name `xml:"file"`
Name string `xml:"name,attr"`
Errors []CheckStyleError `xml:"error"`
}
type Lint ¶
type Lint struct {
Result *LintResult
File, Content string
// contains filtered or unexported fields
}
func (*Lint) Correspond ¶
rune range
type LintMessage ¶
type LintMessage struct {
After string `json:"after"`
Before string `json:"before"`
From LintPosition `json:"from"`
To LintPosition `json:"to"`
Index int `json:"index"`
IndexTo int `json:"index_to"`
Message string `json:"message"`
Severity severity `json:"severity"`
}
type LintPosition ¶
func (LintPosition) String ¶
func (p LintPosition) String() string
type LintResult ¶
type LintResult struct {
Messages []LintMessage `json:"messages"`
Status lintStatus `json:"status"`
Updated int64 `json:"updated"`
}
Click to show internal directories.
Click to hide internal directories.