suggestions

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package suggestions provides presentation-layer decoration of findings with fix suggestions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecoratedFinding

type DecoratedFinding struct {
	rule.Finding
	Suggestion string
}

DecoratedFinding extends rule.Finding with a fix suggestion.

func Decorate

func Decorate(findings []rule.Finding, info binary.Info) []DecoratedFinding

Decorate enriches findings with suggestions based on rule applicability and build info. Only failed findings get suggestions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL