Versions in this module Expand all Collapse all v0 v0.2.0 Jun 7, 2026 v0.1.0 Jun 7, 2026 Changes in this version + const SchemaURI + const Version + func FormatLintReport(report *types.LintReport, opts *Options) (string, error) + type Artifact struct + Description *Message + Encoding string + Length int + Location *ArtifactLoc + MimeType string + type ArtifactChange struct + ArtifactLocation *ArtifactLoc + Replacements []Replacement + type ArtifactContent struct + Binary string + Text string + type ArtifactLoc struct + Index int + URI string + URIBaseID string + type CodeFlow struct + Message *Message + ThreadFlows []ThreadFlow + type Fix struct + ArtifactChanges []ArtifactChange + Description *Message + type Invocation struct + CommandLine string + EndTimeUTC string + ExecutionSuccessful bool + ExitCode int + StartTimeUTC string + WorkingDirectory *ArtifactLoc + type Level string + const LevelError + const LevelNone + const LevelNote + const LevelWarning + type Location struct + ID int + LogicalLocations []LogicalLoc + Message *Message + PhysicalLocation *PhysicalLoc + Properties PropertyBag + type Log struct + Runs []Run + Schema string + Version string + func FromLintReport(report *types.LintReport, opts *Options) *Log + func (l *Log) Marshal(pretty bool) ([]byte, error) + func (l *Log) String() string + type LogicalLoc struct + DecoratedName string + FullyQualifiedName string + Index int + Kind string + Name string + ParentIndex int + type Message struct + Arguments []string + ID string + Markdown string + Text string + type MultiformatMessage struct + Markdown string + Text string + type Options struct + BaseURI string + IncludeRules bool + PrettyPrint bool + Rules map[string]*types.Rule + ToolName string + ToolURI string + ToolVersion string + func DefaultOptions() *Options + type PhysicalLoc struct + ArtifactLocation *ArtifactLoc + ContextRegion *Region + Region *Region + type PropertyBag map[string]any + type Region struct + ByteLength int + ByteOffset int + CharLength int + CharOffset int + EndColumn int + EndLine int + Message *Message + Snippet *Snippet + StartColumn int + StartLine int + type Relationship struct + Description *Message + Kinds []string + Target *ReportingDescrRef + type Replacement struct + DeletedRegion *Region + InsertedContent *ArtifactContent + type ReportingConfig struct + Enabled bool + Level Level + Rank float64 + type ReportingDescr struct + DefaultConfig *ReportingConfig + DeprecatedIDs []string + DeprecatedNames []string + FullDescr *MultiformatMessage + Help *MultiformatMessage + HelpURI string + ID string + Name string + Properties PropertyBag + RelationshipList []Relationship + ShortDescr *MultiformatMessage + type ReportingDescrRef struct + ID string + Index int + ToolComponent *ToolComponentRef + type Result struct + CodeFlows []CodeFlow + Fixes []Fix + Kind ResultKind + Level Level + Locations []Location + Message Message + Properties PropertyBag + RelatedLoc []Location + RuleID string + RuleIndex int + Stacks []Stack + Suppressed []Suppression + type ResultKind string + const KindFail + const KindInformational + const KindNotApplicable + const KindOpen + const KindPass + const KindReview + type Run struct + Artifacts []Artifact + Invocations []Invocation + Results []Result + Tool Tool + type Snippet struct + Rendered *MultiformatMessage + Text string + type Stack struct + Frames []StackFrame + Message *Message + type StackFrame struct + Location *Location + Module string + type Suppression struct + Justification string + Kind string + Status string + type ThreadFlow struct + Locations []ThreadFlowLoc + type ThreadFlowLoc struct + Location *Location + type Tool struct + Driver ToolComponent + type ToolComponent struct + FullName string + InformationURI string + Name string + Organization string + Rules []ReportingDescr + SemanticVersion string + ShortDescr *MultiformatMessage + Version string + type ToolComponentRef struct + Index int + Name string