static

package
v0.0.0-...-ae3ab5d Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisResult

type AnalysisResult struct {
	Issues  []codeintel.AnalysisIssue `json:"issues"`
	Summary codeintel.AnalysisSummary `json:"summary"`
}

AnalysisResult represents the result of static analysis

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

Runner runs static analysis on Go code

func NewRunner

func NewRunner(analyzerNames []string) *Runner

NewRunner creates a new static analysis runner

func (*Runner) AnalyzeFile

func (r *Runner) AnalyzeFile(filePath string, severity codeintel.IssueSeverity) (*AnalysisResult, error)

AnalyzeFile analyzes a single file

Jump to

Keyboard shortcuts

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