Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorLevel ¶
type ErrorLevel int
const ( ErrorLevelInfo ErrorLevel = iota + 1 ErrorLevelWarning ErrorLevelError )
func (ErrorLevel) String ¶
func (el ErrorLevel) String() string
type Report ¶
type Report struct { Level ErrorLevel Rule string Location string Message string }
type ReportList ¶
type ReportList []*Report
func (ReportList) CountErrors ¶
func (rl ReportList) CountErrors() int
func (ReportList) CountWarnings ¶
func (rl ReportList) CountWarnings() int
func (ReportList) String ¶
func (rl ReportList) String() string
Click to show internal directories.
Click to hide internal directories.