Versions in this module Expand all Collapse all v0 v0.18.5 Sep 23, 2026 Changes in this version + const SeverityError + const SeverityWarning + func DetectDefaultReporter() string + func DoCheckReport(result Check, reportingFormat string) error + func IdentifierMatches(resultIdentifier, ignoreIdentifier string) bool + func IgnoreMatches(result CheckResult, ignore ToolConfigIgnore, ...) bool + func NormalizeSourcePath(source, root string) string + func ResolveSourceRoot(root string) string + func StripRootFromText(text, root string) string + func ValidateReporter(name string) error + type Check interface + AddResult func(CheckResult) + GetResults func() []CheckResult + HasErrors func() bool + RemoveByIdentifier func([]ToolConfigIgnore) Check + type CheckResult struct + Identifier string + Line int + Message string + Path string + Severity string + Tip string + func NormalizeResult(result CheckResult, root string) CheckResult + type GitLabCodeQualityIssue struct + CheckName string + Description string + Fingerprint string + Location GitLabCodeQualityLocation + Severity string + type GitLabCodeQualityLines struct + Begin int + type GitLabCodeQualityLocation struct + Lines GitLabCodeQualityLines + Path string + type JUnitTestCase struct + ClassName string + Error *JUnitTestError + Failure *JUnitTestFailure + Name string + type JUnitTestError struct + Content string + Message string + Type string + type JUnitTestFailure struct + Content string + Message string + Type string + type JUnitTestSuite struct + Errors int + Failures int + Name string + TestCase []JUnitTestCase + Tests int + XMLName xml.Name + type ToolConfigIgnore struct + Identifier string + Message string + Path string + func (c *ToolConfigIgnore) UnmarshalYAML(value *yaml.Node) error + func (c ToolConfigIgnore) JSONSchema() *jsonschema.Schema