Versions in this module Expand all Collapse all v0 v0.0.2 Jun 8, 2026 v0.0.1 Jun 8, 2026 Changes in this version + func Execute() + func GeneratePRComment(report *LintReport, repo, headRef string) []string + func SaveBaseline(allDiags []fileDiagnostics) error + type Baseline struct + Diagnostics map[string][]DiagFingerprint + Version string + func LoadBaseline() (*Baseline, error) + type BaselineComparison struct + BaselineCount int + CurrentCount int + FixedCount int + NewCount int + NewDiags []fileDiagnostics + func CompareBaseline(baseline *Baseline, current []fileDiagnostics) BaselineComparison + type BreakingChangeFile struct + Path string + SkipReason string + TotalBreakingChanges int + TotalChanges int + type DiagFingerprint struct + Hash string + Line uint32 + RuleID string + type FileDetail struct + Count int + Errors int + Path string + Warnings int + type GitHubClient struct + func NewGitHubClient() (*GitHubClient, error) + func (c *GitHubClient) CreateReview(prNumber int, commitSHA, body string, comments []reviewComment) error + func (c *GitHubClient) DeleteComment(commentID int64) error + func (c *GitHubClient) ListComments(prNumber int) ([]ghComment, error) + func (c *GitHubClient) ListPRFiles(prNumber int) ([]prFile, error) + func (c *GitHubClient) PostComment(prNumber int, body string) error + func (c *GitHubClient) UpdateComment(commentID int64, body string) error + func (c *GitHubClient) UpsertComments(prNumber int, bodies []string) error + type LintReport struct + BreakingChanges []BreakingChangeFile + ByFile map[string]int + ByRule map[string]int + Counts SeverityCounts + DiagnosticCount int + FileDetails []FileDetail + Files []fileDiagnostics + GeneratedAt string + RepoRoot string + RuleDocs map[string]string + Scope *ScopeMetadata + Workspace string + type ScopeMetadata struct + AnalyzedFileCount int + ChangedFileCount int + FallbackReason string + ImpactedFileCount int + Mode string + type SeverityCounts struct + Error int + Hint int + Info int + Warning int